-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Lot of translations not working #5305
Comments
Turns out to get translations working You need to deploy static content all over. Otherwise translations in Knockout templates won't work.
|
Informational: as an alternative for flushing the knockout templates cache, you can also remove the files in:
It works a bit faster then doing the whole static deploy dance. Although you'll still have to sit and wait for a minute or so until everything gets regenerated when you refresh your page in the browser. |
@hostep I believe that does not apply for production environment though |
Yes that's correct, only for local development mode. Sorry, I should have made that more clear. |
Is this still actual? |
@sevos1984 haven't had time to check it on latest 2.0.* version yet |
This should be fixed in latest develop branch commit 14028aa. Patch will be soon delivered into 2.0 branch. |
@sevos is this commit safe to merge into a 2.1.1 production site, or is a patch planned? Thanks. |
Hello, my first post here. This issue still occurs on 2.1.4. Any chances for a patch? Thanks, |
You can install language package follow the instructions in here : https://github.com/splendidinternet/Magento2_German_LocalePack_de_DE
|
We've noticed another issue with translations which have double spaces in the strings, for example; "This is a line of text. This is the next line","translated version of text. Translated version of next line" This works fine in developer mode, but in production strings with double spaces dont work. Remove the double spaces from templates and the corresponding translation string in your csv. |
Fixed issues: - ECP-207 Make sure image metadata is not fetched from remote storage every time
Same issue on backend in magento 2.1.8, any fix? |
Some are stored in the local storage of the browser, lol. Clear your browser storage and these might work. |
Steps to reproduce
app/i18n/<vendor>/ru_ru/
which has all the files (composer.json
,language.xml
,registration.php
andru_RU.csv
)Expected result
Actual result
See http://screencast.com/t/xI8C1E8RUxny for example - "My Account" is translated and it does show up correctly in most places except breadcrumb.
Here is the incomplete list of places where translations does not work:
Total
The text was updated successfully, but these errors were encountered: