Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit 27e8b2a

Browse files
Corrected the path to the module dir
1 parent cc08cee commit 27e8b2a

File tree

1 file changed

+7
-2
lines changed
  • guides/v2.1/frontend-dev-guide/translations

1 file changed

+7
-2
lines changed

guides/v2.1/frontend-dev-guide/translations/xlate.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,13 @@ Magento translates words and phrases when all of the following conditions are me
9393

9494
The Magento application automatically assembles translation dictionaries located in modules' `i18n` directory into a dictionary per language. For example, Brazilian Portuguese (`pt_BR`) translation dictionaries might be located in {% glossarytooltip c1e4242b-1f1a-44c3-9d72-1d5b1435e142 %}module{% endglossarytooltip %} and theme directories similar to the following:
9595

96-
app/code/Magento/Checkout/i18n/pt_BR.csv
97-
app/design/frontend/<Vendor>/<theme>/i18n/pt_BR.csv
96+
<Magento_Checkout_module_dir>/i18n/pt_BR.csv
97+
<Magento_Checkout_module_dir>/<theme>/i18n/pt_BR.csv
98+
99+
<div class="bs-callout bs-callout-info" id="info" markdown="1">
100+
`<Magento_Checkout_module_dir>` stands for the Magento_Checkout module directory. Its actual location in your code base depends on the way Magento was installed. See [Conventional notations for paths to modules and themes]({{page.baseurl}}frontend-dev-guide/conventions.html) for details.
101+
</div>
102+
98103

99104
Assembling the preceding `pt_BR.csv` files across all modules and the current theme results in a Portuguese translation of the entire application area (storefront or the Admin).
100105

0 commit comments

Comments
 (0)