But naming the files kalium-de.po and .mo didn't work out. So I tried to rename them into kalium-de_DE.po and .mo - according to the WP default theme's language files. And this worked. Maybe you should add this information to the article?!
Another hint: It might make sense to assign the files directly to the Child Theme, am I right? This is missing in the article as well...
You are partially right, because on the example that we used for Albanian language it only sq.po. But on most of them the format is as you wrote (see examples).
P.S: In many languages that offer many language variations you must specify the exact format (e.g. kalium-de_DE.po, kalium-fr_FR.po or kalium-it_IT.po).
Hi there,
I just wanted to sent you a hint regarding the names of .po and .mo files after translating: I followed the steps of this article: https://documentation.laborator.co/kb/kalium/how-to-edit-the-po-file-manually/
But naming the files kalium-de.po and .mo didn't work out. So I tried to rename them into kalium-de_DE.po and .mo - according to the WP default theme's language files. And this worked. Maybe you should add this information to the article?!
Another hint: It might make sense to assign the files directly to the Child Theme, am I right? This is missing in the article as well...
I hope I could help by sharing this experience.
Best regards, Gesine
Hi Gesine,
You are partially right, because on the example that we used for Albanian language it only sq.po. But on most of them the format is as you wrote (see examples).
I just updated the article now with this text:
P.S: In many languages that offer many language variations you must specify the exact format (e.g. kalium-de_DE.po, kalium-fr_FR.po or kalium-it_IT.po).
Thank you again
Hi Ylli,
thanks for your reply! You're welcome - I am happy contributing to the theme's documentation :)
Gesine
Thank you very much Gesine!
I wish you all the best my friend
P.S: If you like the theme, it would help us a lot if you could give us a five-star rating on Themeforest from your Downloads tab.
A huge thank you from me and Laborator in advance.