Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #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 Regards

    #270218

    Hi!

    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!
    Josue

    #270222

    Hi,
    Thanks for your reply
    Yes I did once but it gave me this error

    Malfunction 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=false

    Then tried to do it manually with no luck.
    Regards

    #270223

    Try with this plugin:
    https://wordpress.org/plugins/poeditor/

    Best regards,
    Josue

    #270229

    Hello,
    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, LayerSlider

    If you want me to send you a temp admin login, I can do that

    Regards

    #270475

    Hello,
    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) successfully

    But still no Arabic translation show up

    Is there a code snippet that should be included somewhere?
    Please help.
    Thanks & Best Regards

    #270606

    Hi!

    Please open wp-config.php file on WordPress root and find

    define( 'WPLANG', '' );

    and change it to

    define( 'WPLANG', 'ar_AR' );

    Regards,
    Yigit

    #270655
    This reply has been marked as private.
    #270661

    Hello,
    Worked fine when I made it

    
    define( '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.
    #270663

    Hi!

    Great! Glad we could help mndawood!

    Best regards,
    Yigit

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘.po file translation is not rendered’ is closed to new replies.