Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi,

    If you are familiar with creating langauge files. Then you will have to create .po and .mo file for the portuguese language. If not then you can
    download poedit software here https://www.poedit.net/ Open the attitude.pot file within this theme with that software, write the respective translations in portuguese and create .po file which will also create the .mo file.
    If you find this hard to do, then let’s wait and see if some our other users will provide the langauge file for portuguese and then we will make it available within the theme and then you can use it.

    Sanjiv
    Theme Horse Team

    Thread Starter carolbz

    (@carolbz)

    Ok. i’ll try.
    Where i must save these files?

    You can save these files inside attitude theme folder->library folder->languages folder

    Sanjiv
    Theme Horse Team

    Hi,
    I’m trying to translate the theme into italian.
    I’ve generated the 2 files (.po and .mo) with Poedit (attitude-it_IT.po and attitude-it_IT.mo). These files are inside wp-content/themes/attitude/library/languages folder.

    e.g. I want to translate “Read more” with “Leggi il resto“:

    msgid "Read more"
    msgstr "Leggi il resto"

    but nothing: I continue to see the “Read more”.

    Any idea?

    Thanks,

    Bad file names. From https://codex.www.remarpro.com

    The .mo files must use language-only filenames, like languages/de_DE.mo in your theme directory.
    Unlike plugin language files, a name like my_theme-de_DE.mo will NOT work.

    So, for italian: it_IT.po and it_IT.mo

    Hi,

    Yes, the files name should be like it_IT.po and it_IT.mo not attitude-it_IT.extension. The other thing is that now you will need to activate these langauge files for you site.
    So, to do this download the wp-config.php file, open and replace

    define(‘WPLANG’, ” );

    with define

    (‘WPLANG’, ‘it_IT’ );

    Save the changes and upload this file.
    That’s it.
    You can send these language files to [email protected] if you like we will include these files within the theme from next version update and also give credit to you in the readme.txt file for helping us.

    Sanjiv
    Theme Horse Team

    You can send these language files to [email protected]

    Ok, I’ll do it.

    Checco

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Translation’ is closed to new replies.