WordPress.org

Ready to get started?Download WordPress

Forums

How to install language with P2 theme (5 posts)

  1. frank111
    Member
    Posted 3 years ago #

    In the dashboard of the P2 theme there is no possibility to select a foreign language, how can i install a different language here ?

  2. w7s
    Member
    Posted 3 years ago #

    Hi Frank. If you was set* language in wp-config.php file, p2 theme from the possible languages will automatically translate.

    *Line in the wp-config.php file:

    define ('WPLANG', 'en_EN');

    Language files in the /p2/languages/ folder . If your language not possible, you have to translate with PoEdit.

    Maybe it could be the assistant:

    http://www.icanlocalize.com/site/tutorials/how-to-translate-with-gettext-po-and-pot-files/

    http://codex.wordpress.org/Translating_WordPress

  3. frank111
    Member
    Posted 3 years ago #

    Thanks W7s,

    I did manage to get it working for a big part.
    My dashboard is in Dutch now, most of the text on the user side are also in Dutch, except of the words like Reply, hide Threats, show threads, keyboard shortcut, Toggle comment threads etc.
    How can i translate those?

  4. lauro.faria
    Member
    Posted 3 years ago #

    Frank.
    Verify the existence of their language, the language folder in P2.
    If not, use the software PoEdit and p2.pot file, to create your own translation.
    I did well to adapt to the Portuguese of Brazil.
    See:
    http://www.tamoiosonline.com.br/mural

  5. w7s
    Member
    Posted 3 years ago #

    Frank,

    I checked and saw that missing Dutch translation. Current p2.pot file have a 140 strings but current nl_NL.po file have a 128 strings. Need to update the translation.

    http://gettingeek.com/translation-with-poedit-internationalize-localize-wp-themes-guide-part-3-74.html

Topic Closed

This topic has been closed to new replies.

About this Topic