New Landing How can we help? Themeforest Theme Support Flexform WP ignore language files

Viewing 8 posts - 1 through 8 (of 8 total)
  • Posted in: Flexform
  • #117745
    bkresoja
    Member
    Post count: 5

    I tried to translate the theme into Croatian language but when I copied files WP don’t show translation.

    File location:
    /wp-content/themes/flexform/language/

    I tried with hr_HR.mo and hr.mo

    Files attached.

    Attachments:
    You must be logged in to view attached files.
    #117844
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please follow these guidelines to translate – http://flexform.swiftideas.net/documentation/#translation.
    Thanks
    Mohammad

    #117962
    bkresoja
    Member
    Post count: 5

    Dear
    I followed all the instructions, but it still does not display translation in Administration

    Or did it all wrong and translations is only for the user interface (public), and not for administration part of WP.

    xxxx@xxxxx:/var/www/XXXXXXXXXXXXXXX/wp-content/themes/flexform/language$ ls -al
    total 520
    drwxrwxr-x 2 www-data www-data 4096 Oct 7 06:39 .
    drwxrwxr-x 9 www-data www-data 4096 Oct 7 05:55 ..
    -rw-rw-r– 1 www-data www-data 22077 Oct 2 13:18 de_DE.mo
    -rw-rw-r– 1 www-data www-data 49455 Oct 2 13:18 de_DE.po
    -rw-rw-r– 1 www-data www-data 6148 Oct 2 13:18 .DS_Store
    -rw-rw-r– 1 www-data www-data 278 Oct 2 13:18 en_US.mo
    -rw-rw-r– 1 www-data www-data 42652 Oct 2 13:18 en_US.po
    -rw-rw-r– 1 www-data www-data 22721 Oct 2 13:18 es_ES.mo
    -rw-rw-r– 1 www-data www-data 50055 Oct 2 13:18 es_ES.po
    -rw-rw-r– 1 www-data www-data 21463 Oct 2 13:18 fr_FR.mo
    -rw-rw-r– 1 www-data www-data 50491 Oct 2 13:18 fr_FR.po
    -rw-rw-r– 1 www-data www-data 21839 Oct 7 06:39 hr_HR.mo
    -rw-rw-r– 1 www-data www-data 49169 Oct 7 06:39 hr_HR.po
    -rw-rw-r– 1 www-data www-data 21839 Oct 7 06:39 hr.mo
    -rw-rw-r– 1 www-data www-data 49169 Oct 7 06:39 hr.po

    -rw-rw-r– 1 www-data www-data 22567 Oct 2 13:18 it_IT.mo
    -rw-rw-r– 1 www-data www-data 49893 Oct 2 13:18 it_IT.po

    xxxx@xxxxx:/var/www/xxxxxxx/wp-content/themes/flexform/languages$ ls -al
    total 160
    drwxr-xr-x 2 www-data www-data 4096 Oct 7 06:42 .
    drwxrwxr-x 9 www-data www-data 4096 Oct 7 05:55 ..
    -rw-rw-r– 1 www-data www-data 21839 Oct 7 06:42 hr_HR.mo
    -rw-rw-r– 1 www-data www-data 49169 Oct 7 06:42 hr_HR.po
    -rw-rw-r– 1 www-data www-data 21839 Oct 7 06:42 hr.mo
    -rw-rw-r– 1 www-data www-data 49169 Oct 7 06:42 hr.po

    Attachments:
    You must be logged in to view attached files.
    #117988
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Can you check inside the .po files you are changing if you find a text like the below:

    New Team Member
    

    If so you are editing the right file.

    -Rui

    #117999
    bkresoja
    Member
    Post count: 5
    #. Text in function
    #: flexform/includes/custom-post-types/team-type.php:1
    msgid "New Team Member"
    msgstr "Novi član tima"

    All translation is included in hr_HR.zip (po and mo) file from previous post.
    As a base for the translation I used en_US.po

    I guess part of the administration interface is not translatable as the user part of the theme translated as expected.

    #118012
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779
    #118042
    bkresoja
    Member
    Post count: 5

    Exactly that part has been translated, but the menu and other parts of the themes are not.
    At first I thought WP ignores translation, but now seems that the original on file does not contain all the fields that can be translated.

    Can you send me default.po instead en_US.po?

    #118093
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    There is no default.po only the files that are inside the language directory.
    If is not inside the translation files can also be translated with WPML string translation or in last resource directly in the theme files.

    -Rui

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register