Theme Translation

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #680
    marcwitt
    Participant

    Hey,

    I wanted to translate the theme into german. So I bought POedit. Then, I downloaded the de_DE.mo and .po from my WP-Install. I opened the file with POedit, translated everything and finally uploaded everything back on my server. As a define last step, I added this line of code to my wp_config:

    define (‘WPLANG’, ‘de_DE’);

    But still, my theme uses englisch phrases instead of the ones I translated. What did I do wrong?

    #1720
    admin
    Participant

    Hi,

    Quote:
    define (‘WPLANG’, ‘de_DE’);

    WPLANG is deprecated in WordPress 4.0. You may be interested to see the technical details.
    https://make.wordpress.org/core/2014/09/05/language-chooser-in-4-0/

    Now, after completing the translation steps and putting your “de_DE.mo” file in the languages directory.
    Go to `Settings > General `
    Choose your language from Site Language drop down.
    Save Changes

    You are done.

    Note: There is no need to set WPLANG constant now. If you download the latest version of WordPress from WordPress.org , you will notice that there is no WPLANG constant in wp-config.php file :)

    Thanks

    #1721
    marcwitt
    Participant

    Alright, I did exactly as I described and as you told me. Still, my website appears to be in english, while the backend is german…
    Sorry, but I´m doing wrong something….

    #1722
    marcwitt
    Participant

    Sorry for my impatience;)

    Do you have any idea, why my website is still in english?

    #1723
    admin
    Participant

    Hi,

    One of our staff member will send you an email to guide your further.
    We will need your translation file and more…

    Thanks :)

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.