Home Forums Theme Support Dokan Translation placeholders

This topic is: resolved

This topic contains 6 replies, has 3 voices, and was last updated by  Wendie 4 years, 12 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #20748

    Wendie
    Member
    Post count: 2

    Hello,

    I created a dutch translation file for the theme. I translated 100% of the POT file but all the placeholders are still in English. How can I change those in dutch?

    My general setting are also in dutch.

    Thank you in advance,

    Wendie

    #20808

    Marc
    Member
    Post count: 6

    Do you have a mo and po file in your folder? (nl_NL.mo nl_NL.po). Are the language files readable from your installation? I translated the Dokan Theme with the plugin “CodeStyling Localization”, it works very well.
    Maybe you should try it.

    #20810

    Wendie
    Member
    Post count: 2

    Hello Marc,

    Thanx for your response. I did excactly as you said above, I created nl_NL.mo and nl_NL.po files from the original .pot file. I uploaded them to the language folder and all the files work fine except for the placeholders. You can see it perfectly in the searchfield. See my screenshot here

    #20815

    Marc
    Member
    Post count: 6

    Hello Wendie

    First question, do you have change the language in your wp-config.php?

    You should have a line with
    define (‘WPLANG', ‘nl_NL');

    if there is another language code, you have to change this

    Please check this first.

    How did you create the files? It is not working to create the files with a text editor. Use PoEdit if you like to translate the files offline or try the plugin CodeStyling Localization. The better Solution

    #20939

    Nizam Uddin
    Keymaster
    Post count: 670

    Hello Wendie
    Is your problem resolved?

    #20941

    Nizam Uddin
    Keymaster
    Post count: 670

    Hello
    Sorry for inconvenience. There was some string missing in the existing language file. Here is updated file. Please click here to download updated language file . Thank you..

    #21200

    Wendie
    Member
    Post count: 2

    Update resolved my problem. Thanx!

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

The topic ‘Translation placeholders’ is closed to new replies.