简体   繁体   中英

How to update a wordpress translation file

I want to localize a wordpress plugin and translate it to Persian with POEDIT. I created the fa_IR.po , fa_IR.mo and all the texts loaded but when I write the translation texts and save the file, nothing happens, and it still shows me english texts in front-end.What should I do?! 在此处输入图片说明

Did you properly put your fa_IR.mo file in the /wp-content/languages folder? And did you properly set define( 'WPLANG', 'fa_IR' ); in wp-config.php?

https://codex.wordpress.org/WordPress_in_Your_Language

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM