Viewing 15 posts - 1 through 15 (of 28 total)
  • #151005
    akimad
    Member
    Post count: 57

    Hi, I’ve got some problems with translations in a site.

    1. When I’m not logged in, the cart menu is in french but I’m in English in the site (see “translation_fail.jpg” attachment). The problem not occur :
    – in Spanish
    – in the 2 languages when I’m logged in

    2. The wishlist menu (only one sentence and the link) is always in English (see “translation_fail2.jpg” attachment)

    Thank you for your help.

    PS :
    To view the site :
    – Login : sp
    – Password : sptest

    Attachments:
    You must be logged in to view attached files.
    #151112
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi,

    Which method you tried to translate the theme?

    Let us know,

    Thanks,
    laranz.

    #151124
    akimad
    Member
    Post count: 57

    I’m using WPML plugin

    #151182
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Can you provide us access to the security popup that appears?

    We probably need to install code localization plugin to check online the content of your translation files.

    -Rui

    #151183
    akimad
    Member
    Post count: 57

    Yes, it’s in my first post ๐Ÿ˜‰

    To view the site :
    โ€“ Login : sp
    โ€“ Password : sptest

    #151658
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    It seems that you some setting in French.
    What do you have inside wp-config.php as WP-LANG?

    -Rui

    #151750
    akimad
    Member
    Post count: 57

    In my wp-config.php :

    define ('WPLANG', 'en_US');

    #151755
    akimad
    Member
    Post count: 57

    Note :

    If I delete the 2 files “fr_FR.po” and “fr_FR.mo” in “/wp-content/themes/neighborhood/language”, the problem is “solved”. But sure it’s not the solution.

    I don’t know why it chooses the fr instead of the en.

    #151819
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Really strange. Glad it’s sorted.
    -Rui

    #151868
    akimad
    Member
    Post count: 57

    But if I add French later, I can’t delete this 2 files now..

    And for the wishlist problem, the sentence and the link to the wishlist which are always in English, any news ?

    Thank you for your help !

    #152290
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi,

    1. No need to give the WPLANG if you are using the English alone.
    2. Did you translate the wishlist strings too using codestyling localization?

    Let us know,

    Thanks,
    laranz.

    #152351
    akimad
    Member
    Post count: 57

    Hi,

    I’m not using the English alone, the site is in 2 languages : English and Spanish.

    – I’ve deleted de WPLANG but the 2 problems are still presents.
    – I’ve translated the sentence “My wishlist on SewingPeanuts” in Spanish with the codestyling localization plugin, but it’s always in English..

    #152409
    akimad
    Member
    Post count: 57

    I don’t know why and how, but now, the cart menu is in English, it works !

    I don’t know if it was you who solved the problem or if it’s the codestyling localization plugin..

    So, the cart menu works properly. Now, there remains the problem of the wishlist menu :
    – The sentence always in English (“My wishlist on SewingPeanuts”)
    – The link always in English (“http://……./wishlist/view”)

    #152922
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi,

    Sorry for a late response, How you translate the .po files? Try installing the codestyling localization plugin or loco translate plugin and check whether you translate it correctly.

    Let us know,

    Thanks,
    laranz.

    #153017
    akimad
    Member
    Post count: 57

    Like I already said in my previous message, I’ve translated the sentence “My wishlist in Sewing Peanuts” in the codestyling localization plugin. I’ve also translated them in WPML. But nothing appears. They are still the sentence and the link to the wishlist page in English..

Viewing 15 posts - 1 through 15 (of 28 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