Home Forums WoodMart support forum Problems trying to translate

Problems trying to translate

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #99495

    Cloudbyte
    Participant

    Hello, first let me just say thanks for a great theme.

    I’m trying to translate the theme using Loco Translate, and a strange issue is happening, If i translate a single string and save, it works great, but as soon as I translate a second string it stops working, even the first sting stops working. Would really appreciate some help.

    Best regards,

    Sérgio

    #99507

    Hello,

    Our theme can hardly influence. Perhaps there is an incompatibility between Loco and some of your plugins. Deactivate all the plugins not related to the theme excepting Loco and check again.

    Best Reards

    #99524

    Cloudbyte
    Participant

    Hello Elise,

    Thanks for your reply, I deactivated all the plugins as you suggested and I still have the same problem, any other suggestion?

    #99536

    Hello,

    You need to translate Loco > Themes > Woodmart. You have not created a language for Woodmart. http://prntscr.com/m28hce

    Best Regards

    #99539

    Cloudbyte
    Participant

    Hello,

    I deleted the language so you could try yourself.

    #99540

    Cloudbyte
    Participant

    It’s the best way for you to replicate de error, so If you don’t mind could you please create a new language (Portugues) for the theme translate a single sting and save, I suggest “browse categories” to “Loja Online”. After saving the change will work, but as soon as you translate any other string it stops working.

    #99589

    Artem Temos
    Keymaster

    Please, send us your FTP access so we can troubleshoot it.

    #99624

    Cloudbyte
    Participant

    Good morning,

    Heres the FTP access.

    Thanks,

    Sérgio

    #99651

    Artem Temos
    Keymaster

    There is some strange issue with Loco Translate plugin. It creates corrupted MO file and translations can’t be read. We suggest you to use POEdit software instead and create translations manually. https://poedit.net/wordpress

    #99671

    Cloudbyte
    Participant

    Hi,

    Thanks for the help, to do this with the free version of poedit I save the file as pt_PT.mo and upload to themes/woodmart/languages/ and define the language in config.php with the following code:

    define ('WPLANG', 'pt_PT');

    #99675

    Artem Temos
    Keymaster

    We suggest you to keep translated files in wp-content/languages/themes/woodmart-pt_PT.po folder. And you don’t need to add anything to the config file.

    #99677

    Cloudbyte
    Participant

    I just upload the .po file and can’t see any translations, am I missing something? Can you take a look?

    #99679

    Cloudbyte
    Participant

    Ok just added the .mo file and it worked.

    Thank you for all you help.

    Top support 🙂

    Cheers

    Sérgio

    #99683

    Artem Temos
    Keymaster

    Great, you are welcome.

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