Viewing 14 posts - 1 through 14 (of 14 total)
  • Posted in: Dante
  • #78174
    Roger Henriksen
    Member
    Post count: 39

    Hi,

    I have problems translating the product description and product additional information accordion. I want to translate these texts but WPML doesn’t change the text.

    Can you help me find a solution?

    The site is currently hidden and you’ll need username and password to be able to see it. Let me know, and I’ll send you the info.

    Best regards,

    Roger Henriksen

    #78668
    Mohammad – SUPPORT
    Moderator
    Post count: 27441
    This reply has been marked as private.
    #79746
    Roger Henriksen
    Member
    Post count: 39
    This reply has been marked as private.
    #79790
    Roger Henriksen
    Member
    Post count: 39
    This reply has been marked as private.
    #80396
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Doesn’t look like you’ve added an english translation for the product?

    – Ed

    #80405
    Roger Henriksen
    Member
    Post count: 39

    Can you explain step by step where I find this?

    Wordpress uses Norwegian files, and the main WPML language should be Norwegian. I’ve hidden English because the theme strings are in English.

    I’m sorry, but I don’t understand this.

    Regards,
    Roger

    #80826
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Can you please clarify what the issue is that you are having?

    – Ed

    #81412
    Roger Henriksen
    Member
    Post count: 39

    Well, the problem is that I can’t translate any content from the theme or woocommerce plugin. The changes are not displayed. They were once, but now all changes are undone.

    Now I have removed this problem by deleting code from the Woocommerce template file and made a copy to the child theme. I simply don’t use the default product content and build it myself in the content builder. I’m not using the shop only this post type as the product cataloge. Else, I could have done it this way.

    But for the next time I still wonder what went wrong:

    I have set the default language to Norwegian, the nb_NO is also set in wp-config.php. The other language is English, which is hidden – only used to translate from.

    Next I installed WPML Mulitisite and String translation. I use .mo files in the Theme and plugins localization. I some times find it possible to use Translate by WPML – which has been working much better for me in other cases. Is this not available here?

    Well, I now use .mo and have textdomain set to “swiftframework”

    When I add a string translation WordPress translations is not displayed.

    I also tried to use the Poedit and translate “Search for something…”. I found the text in the language folder, but when I change the text to Norwegian, it’s not translated on the site.

    In general I can’t make the translations appear on the site. I’m not sure what I do wrong, but I guess it has to do with the configuration of WPML or .mo files.

    #81419
    Melanie – SUPPORT
    Member
    Post count: 11032

    Hi, so you can you confirm that you have the translated .po and .mo files in the languages folder of the theme and the woocommerce plugin?

    #81434
    Roger Henriksen
    Member
    Post count: 39

    I have .mo- and .po-files in wp-content/themes/dante/language and in wp-content/languages.

    Let’s say I want to translate the seach string: “Seach for something…”. This string is found in the theme language folder, but when I translate with Poedit, save and upload the file again it still says “Seach for something… even if the translated text is saved in the file.

    To me the file seems translated, but I can’t make it work.

    #81961
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    First, make sure that you are using latest version 2.56 of theme. When you are translating string in PO file through POedit , it create a MO file in same directory so you need to upload both PO and MO file to work translation.
    Thanks

    #82992
    Roger Henriksen
    Member
    Post count: 39

    Hi,
    I still have problems translating this iste. I upload both .mo and .po files.

    I use your Neighborhood theme on another site and here it’s possible to use “Translate by WPML”? What’s the reason for this? As I can see Dante also uses gettext calls.

    Thanks!

    #83384
    Roger Henriksen
    Member
    Post count: 39

    Hi again,

    I’ve been talking to WPML and they suggested to increase the memory limit after seeing the error log. I then increased the memory to 128M (later to 256M) and deactivated all plugins but WPML Multilanguage and WPML String Translation. And it worked.

    Now I have it working and WPML works fine with all my plugins. I have talked to my hosting and they’ve set the limit to 256M for this server.

    Just thought you you would like to know in case someone else has the same problem!

    Thanks for your help!

    #83395
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Thank you so much to sharing the solution of this issue. I appreciate it.

    Thanks 🙂
    With Best Regards
    Swift Ideas

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