-
AuthorPosts
-
May 26, 2014 at 6:01 pm #270183
Hello,
I have translated a partial set of english text in a .po file into Arabic, but it is not working.
I followed all the instructions found here in support, but with no luck.
PLease help.
Best RegardsMay 26, 2014 at 7:19 pm #270218Hi!
Are you using this plugin?
https://wordpress.org/plugins/codestyling-localization/After you made the translation you need to click the generate .po button at the top.
Cheers!
JosueMay 26, 2014 at 7:33 pm #270222Hi,
Thanks for your reply
Yes I did once but it gave me this errorMalfunction at dubious external scripts detected !
Reason: unknown external script has been enqueued or hardly attached. | Polluter: unknown (probably by Theme or Plugin)
Below listed external scripts have been traced, verified and automatically stripped because of injection:
[avia-google-maps-api] – http://maps.google.com/maps/api/js?sensor=falseThen tried to do it manually with no luck.
RegardsMay 26, 2014 at 7:37 pm #270223Try with this plugin:
https://wordpress.org/plugins/poeditor/Best regards,
JosueMay 26, 2014 at 7:49 pm #270229Hello,
And there is another warning in codestyling-localization plugin that says:Warning: The actual loaded translation content contains mixed textdomains and is not pure translateable within one textdomain.
It seems, that there is code contained extracted out of other plugins, themes or widgets and used by copy & paste inside some source files.
The affected unknown textdomains are: wordpress-importer, woothemes, woocommerce, plugindomain, envato, LayerSliderIf you want me to send you a temp admin login, I can do that
Regards
May 27, 2014 at 12:08 pm #270475Hello,
I tried the following: (just for translating search result page messages as a test)1- manual .po translation (using desktop editor)
2- Codestyling-localization plugin as mentioned above
3- POedit plugin. I managed to import / export the .po file (after doing some translation) successfullyBut still no Arabic translation show up
Is there a code snippet that should be included somewhere?
Please help.
Thanks & Best RegardsMay 27, 2014 at 4:58 pm #270606Hi!
Please open wp-config.php file on WordPress root and find
define( 'WPLANG', '' );
and change it to
define( 'WPLANG', 'ar_AR' );
Regards,
YigitMay 27, 2014 at 6:10 pm #270655This reply has been marked as private.May 27, 2014 at 6:21 pm #270661Hello,
Worked fine when I made itdefine( 'WPLANG', 'ar_SA' );
Because the .po file is ar_SA not ar_AR
Thank you very much for help.
Best Regards- This reply was modified 10 years, 7 months ago by mndawood.
May 27, 2014 at 6:23 pm #270663 -
AuthorPosts
- The topic ‘.po file translation is not rendered’ is closed to new replies.