最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

customization - trying to modify colormag-fr_FR.po

matteradmin9PV0评论

How can I modify a translation in colormag-fr_FR.po? In fact the translation of "breaking news" is "Récents" in french. I went in the above mentionned file and changed "Récent" for "A la Une". But after reloading my website, nothing had changed. I want to be able to modify those translations to put mine. Thanks in advance.

How can I modify a translation in colormag-fr_FR.po? In fact the translation of "breaking news" is "Récents" in french. I went in the above mentionned file and changed "Récent" for "A la Une". But after reloading my website, nothing had changed. I want to be able to modify those translations to put mine. Thanks in advance.

Share Improve this question asked Apr 8, 2019 at 21:38 Lord_KelvinLord_Kelvin 291 bronze badge
Add a comment  | 

1 Answer 1

Reset to default 3

Just modifying the .po file doesn't do anything. The .po is the template. To be displayed, the .po must be compiled into an .mo file and it is the compiled .mo that makes the translations.

If you're just editing the .po in a text editor, you're not changing anything. You'll need a compiler.

A good choice is Poedit. It's been around a long time and is used by a lot of WordPress developers. It will allow you to edit the .po file and it will automatically compile the .mo when you save it.

Post a comment

comment list (0)

  1. No comments so far