I’ve created a theme at underscores.me and it seems it is multi-language ready.
There is a
.pot file in the language folder, so I downloaded POEdit and translated the things in there (like
x Comments and so on)
Are the above posted words not from the theme but from WordPress? If so, why it is in English although I have a German WordPress installed (Backend is in German)?
So I saved it and also as a
.mo file and uploaded both files on my server into the languages folder. But the translations are not working
Below are the methods you can try. The first solution is probably the best. Try others if the first one doesn’t work. Senior developers aren’t just copying/pasting – they read the methods carefully & apply them wisely to each case.
When naming your
mo files in a theme, you need to only make use of the language code to name these files. Any other convention will not work
For example, my blog is in Afrikaans and the localization language code is
po files are named accordingly, ie,
I’m not sure what the codes are for German, but change the filenames accordingly