In ProgressHow do I apply a translation?
Tagged: Translate, translation
- This topic has 1 reply, 2 voices, and was last updated 2 years, 7 months ago by
Althemist.
- AuthorPosts
- October 14, 2020 at 2:36 pm #26416
martinkwebdev
ParticipantHello, I’ve downloaded the two language files:
– lafka-plugin.pot
– lafka.potAnd I’ve translated them using the software Poedit, which then compiles .po and .mo translation files.
I’ve translated a theme before, in this way, I just needed to rename the translated files by adding the language code and they worked.
However, I did not manage to find anything regarding translation in Lafka’s documentation.
Using Loco Translate is not an option at this point, as I can’t find a way to import a translation and I won’t be able to meet my deadline if I begin the whole translation all over again.
I have the two translated files and I want to apply them in a way so that they don’t get deleted upon updating the theme.The language is Bulgarian. I’m writing this in English so others can also benefit from this post 🙂
How should the files be named and where do I need to put them so they don’t get deleted while updating?October 16, 2020 at 11:27 am #26440Althemist
KeymasterHello martinkwebdev,
Sorry for the late reply.
It is highly not recommended to alter the original pot files. I’d strongly suggest using Loco Translate. Editing the pot files and generating new po and mo files may lead to encoding problems and also the entire pot structure must be synced again, because of the WPML compatibility. Editing the pot files would change the lines order and make the new po and mo files useless.
Also, note that there are a lot of strings in the theme’s plugin too (Lafka plugin).
If you need further help, just let us know. May we know which Bulgarian company are you building a website for? (you can post the name in a “private reply” if you wish).
Best regards,
Dimitar - AuthorPosts
You must be logged in and have valid license to reply to this topic.