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

Commit bda63c5

Browse files
author
Marchenko, Aleksandra(almarchenko)
committed
Merge pull request #59 from Magento/pubs_app_trans
Replaced absolute paths in Translations
2 parents 64852f8 + ebd9928 commit bda63c5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

guides/v2.0/frontend-dev-guide/translations/theme_dictionary.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ This topic describes how default strings can be changed in your custom theme usi
1616

1717
When the locale is changed for a store, Magento searches for translations in the corresponding dictionaries in the following locations:
1818

19-
4. Module translations: `app/code/<Vendor>/<Module>/i18n/`
19+
4. Module translations: `<module_dir>/i18n/`
2020
4. Theme translations:
21-
1. `app/design/frontend/<Vendor>/<parent_theme>/i18n/` (iterated through all ancestor themes)
22-
2. `app/design/frontend/<Vendor>/<current_theme>/i18n/`
21+
1. `<parent_theme_dir>/i18n/` (iterated through all ancestor themes)
22+
2. `<current_theme_dir>/i18n/`
2323
4. Translation package: `app/i18n/`
2424
5. Magento database
2525

@@ -30,7 +30,7 @@ If there are different translations for one string, the theme dictionary transla
3030
The translations priority described earlier is applied for the default en_US locale as well. So you can use the `en_US.csv` dictionary to customize the strings used in the default locale.
3131

3232
<span id="luma_example">For example, this approach is used in the Magento Luma theme. It has the
33-
<a href="{{site.mage2000url}}app/design/frontend/Magento/luma/i18n/en_US.csv"><code>app/design/frontend/Magento/luma/i18n/en_US.csv</code></a> file, where the left column contains the default values (keys), and the right columns contains the values to be used instead when the Luma theme is applied:
33+
<a href="{{site.mage2000url}}app/design/frontend/Magento/luma/i18n/en_US.csv"><code>&lt;Magento_Luma_theme_dir&gt;/i18n/en_US.csv</code></a> file, where the left column contains the default values (keys), and the right columns contains the values to be used instead when the Luma theme is applied:
3434
</span>
3535

3636
"Add to Wish List", "Wish List"

0 commit comments

Comments
 (0)