customization - trying to modify colormag-fr_FR.po

How can I modify a translation in colormag-fr_FR.po?In fact the translation of "breaking news" is "Récen

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.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745613170a4636072.html

相关推荐

  • customization - trying to modify colormag-fr_FR.po

    How can I modify a translation in colormag-fr_FR.po?In fact the translation of "breaking news" is "Récen

    10小时前
    40

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信