WordPress.org

Ready to get started?Download WordPress

Forums

Iconic One
[resolved] Language (5 posts)

  1. plmorpheus
    Member
    Posted 8 months ago #

    Hi there, I'm trying to enable site in my language - I translated .po file in POEDIT, uploaded it to /language (/wp-content/languages) but without effects. Adding define (.WPLANG., .pl_PL.) => internal 500 error of my server. I'd like to mention that in wp-config.php file already contains define ('WPLANG', 'pl_PL). I tired to comment it and leave only define (.WPLANG., .pl_PL.) but no effects -> error 500 occured. Please help.
    Regards

  2. Themonic
    Member
    Theme Author

    Posted 8 months ago #

    define('WPLANG', 'language'); is the correct usage
    in your case
    define('WPLANG', 'pl_PL');

  3. plmorpheus
    Member
    Posted 8 months ago #

    I defined this in wp-config.php but no effect.

  4. Themonic
    Member
    Theme Author

    Posted 8 months ago #

    the translated .pot file in the language folder must be named as "pl_PL" in your case.

  5. plmorpheus
    Member
    Posted 8 months ago #

    Ok, but the .pot file must be located in /wp-content/languages or /wp-content/themes/iconic-one/languages ?

Reply

You must log in to post.

About this Theme

About this Topic

Tags