-
Notifications
You must be signed in to change notification settings - Fork 430
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
Localization #567
Comments
I found it out, needed to load as well tgmpa text domain: and the correct address for the translation files is: But is there any way around to keep langugage fiels separate from my theme one? Thanks a lot. |
Hi @vyskoczilova, thanks for making the translation! It would be great if you could send in a pull request for that! And yes, the translation needs to be loaded. We didn't do this in v2.5.2 as there were no translations yet. We're getting ready to release v2.6.0 in a little while. In preparation to that, I've updated the If you could update your As a side-note: please note that if you host your theme on wp.org, they are not so happy with us keeping the translations separate from the theme and if people download TGMPA via the Custom Generator the bit of code which loads 'our' translations will be taken out again. If you host your theme elsewhere, it should be fine. |
Hi @jrfnl thanks for this answer (maybe you could add it somewhere in the readme?), I tried to pulled a request, hopefully I did it. |
@vyskoczilova Thanks Karolína! Your support is much appreciated. I kind of hope that once v2.6.0 is released, we won't receive more questions about the localization, so I haven't added an FAQ, though the information will be in the changelog. If we still get questions about this after the 2.6.0 release, I'll add the FAQ ;-) |
Hi,
I have translated the plugin into Czech (I will make a pull request when checked the correctness), but I'm not able to load the translation... Could you help me please? It works, but only in English.
It's a custom theme with translation slug "customtheme".
in my function.php I'm calling those files:
I have tried to place the translation both to:
and trying to rename it:
I have added define('WPLANG', 'cs_CZ'); into wp-config.php.
The text was updated successfully, but these errors were encountered: