Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module translation is not used #4

Open
kkrieger85 opened this issue Apr 9, 2018 · 3 comments
Open

Module translation is not used #4

kkrieger85 opened this issue Apr 9, 2018 · 3 comments

Comments

@kkrieger85
Copy link

Setup:
CH-Shop ( general/locale/code) with de_DE as fallback ( general/locale/code_fallback ).

We installed a third party module which has translations in app/locale/de_CH && app/locale/de_DE

Text is translated via Mage::helper('modulename')->__('Text to translate')

As working solution I had to create a theme/locale/de_ZZ folder to put the translation in.

@MaWoScha
Copy link
Owner

MaWoScha commented Apr 9, 2018

Do you put the translations of app/locale/de_CH or app/locale/de_DE into theme/locale/de_ZZ folder?
And sure theme(!!!)/locale/de_ZZ folder?
Does Version 0.4.5 work?

@kkrieger85
Copy link
Author

I use version 0.5.0

from composer.lock

"name": "mawoscha/german-localefallback",
            "version": "v0.5.0",
            "source": {
                "type": "git",
                "url": "https://github.com/MaWoScha/German_LocaleFallback.git",
                "reference": "2239814131aff8bd530146b0d1287ee86df7fe52"
            },

Module translation is in app/locale/de_DE/Namespace_Module.csv as well as in htdocs/app/locale/de_CH/Namespace_Module.csv

Theme translations are in app/design/frontend/package/mytheme/locale/de_DE/translate.csv and app/design/frontend/package/mytheme/locale/de_CH/translate.csv

I had to copy module translation into app/design/frontend/package/mytheme/locale/de_ZZ/translate.csv

@MaWoScha
Copy link
Owner

MaWoScha commented Apr 16, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants