Localization issues and how to fix them
-
Hey,
First of all many thanks for the awesomeness.
Even when using translation .po / .mo files there are several strings that remain untranslated and that’s why:
- You don’t specify in the .pot / .po files the base path, which should be
.(dot) and source paths, which should be..(double dot).</li - In your plugin core files some strings do not have text domain
theme-my-login. For exampleclass-theme-my-login.php. I assume native WP translations are supposed to work, but they do not (at least no in the front end).
So the fixes are:
- Embed the necessary paths in your .po / .pot files
- Specify a text domain for all strings, no matter if they repeat the standard WP ones or not
Anyway thanks for the great job.
- You don’t specify in the .pot / .po files the base path, which should be
The topic ‘Localization issues and how to fix them’ is closed to new replies.