Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #18850

    Hi there,

    Thank you for this nice theme. Here is my case:

    – I have installed the theme

    – I get to this dir wwwblogwp-contentthemesangularlang

    – I copied the two files .mo & .po and named them & ar.po

    – Added this line define(‘WPLANG’, ‘ar’); to the wp-config.php in the root dir.

    – Then I edited ar.po and get to one of the keys

    #: ../functions.php:327
    msgid “close”
    msgstr “”

    and I checned to:

    #: ../functions.php:327
    msgid “close”
    msgstr “اغلاق”

    I refresh the page and the word “Close” is still there. it’s not translated.

    could you please help in this issue?

    Kind Regards



    You need to compile the po file. I’d use tools like PoEdit to translate the default.po file in the wp-contentthemesangularlang folder. Then save the translation as ar.po and into the wp-contentthemesangularlang folder. The mo file is the compiled version of your po file which is used/required by wordpress.


    Thank you very much Dude. I love you <3


    Hi Khaled_288,

    Glad that Peter helped you. :)



Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Translation to another lang is not working.’ is closed to new replies.