Support » Plugin: Loco Translate » How to upload po and mo files

  • Hi,
    this is a bit long, but I want to be as detailed as possible

    1.I have a theme ( My Listing) that I need to translate to Hebrew.
    2.Installed loco, set up Hebrew as a new language and used the Hebrew file from this section “Additional files found”
    Here’s a link to a screenshot https://snag.gy/mQnZHv.jpg
    3.I downloaded the po file and using poedit created an mo file
    4.I then wenא to languages/loco/themes/ deleted the existing files
    Renamed the ones already translated and uploaded them
    5.I was happy when I saw that the progress bar in Hebrew is now 74%
    https://snag.gy/rD8cBS.jpg

    but!

    1.No translation changes noticed on the Theme (WordPress is set to Hebrew)
    2.When I press sync (here: https://snag.gy/ZNezGW.jpg) the translation progress drops to 0% again…

    What an I doing wrong ?

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Tim W

    (@timwhitlock)

    Your theme is not fully configured, which is why you get “Additional files found”. The reason Sync doesn’t work is probably related to this also. Please read the manual sections on configuration and translation templates.

    If your theme is open source, please provide a download link. If your theme is commercial, I can’t help you configure it.

    Yes – it’s a commercial theme called My Listing
    https://themeforest.net/item/mylisting-directory-listing-wordpress-theme/20593226

    I see this error :
    58 files can’t be matched to a known set of strings

    How can I fix this?
    I’ve gone over the manual but didn’t find any reference

    Plugin Author Tim W

    (@timwhitlock)

    Yes – it’s a commercial theme called My Listing

    I don’t offer help configuring commercial themes.

    58 files can’t be matched to a known set of strings

    Loco Translate works with any theme that has been internationalized to WordPress standards and uses a single text domain. You can configure it to work with non-standard themes.

    I’ve gone over the manual but didn’t find any reference

    The Advanced Configuration section covers many situations including multiple text domains and non-standard naming conventions. This can all be configured in the Advanced tab.

    Thanks for your help Tim!
    Much appreciated.

    However I haven’t found anything in the The Advanced Configuration section that I can use to resolve this.

    So – before I give up, is there anything else that you might add that will help me?

    Thanks again!

    Plugin Author Tim W

    (@timwhitlock)

    If you’ve read the manual then you’ll know how to configure text domains, domain paths, and translation templates. In what way does this information not help you? What have you tried?

    Hi,

    Not sure where to start:)

    I don’t understand what “58 files can’t be matched to a known set of strings” means, what are the “files” and how do text domains, domain paths, and translation templates affect them.

    Sorry, first time using loco….
    If you don’t have time or capacity to walk me through this I fully understand.

    Thanks either way

    Plugin Author Tim W

    (@timwhitlock)

    Sorry, first time using loco….
    If you don’t have time or capacity to walk me through this I fully understand.

    The issue is not just time. I cannot walk you through configuring a theme I cannot access. If you post a free download link to your theme I’ll happily tell you exactly what to enter into your configuration.

    I don’t understand what “58 files can’t be matched to a known set of strings” means

    It means your theme is set up in a way that Loco Translate cannot simply guess at. i.e. not to WordPress standards. This means if you want to work with these files, you have to tell it what they’re for.

    what are the “files” and how do text domains, domain paths, and translation templates affect them.

    The “files” are the ones listed, including the one you’ve highlighted in your screenshot. In acf-he_IL.po “acf” is a text domain. To work with this text domain (if that’s even what you need to do) you would have to add this to your configuration and tell Loco Translate which file to use as the template.

    If you don’t understand these terms, you should read something about WordPress localization, and go though the Loco Translate beginners guide too.

    Thanks Tim

    If you’d like I can share with you the theme files in a personal message or email.

    If that’s ok – let me know and I’ll send you a message through https://localise.biz/contact.

    I appreciate your help so far.

    • This reply was modified 4 weeks, 1 day ago by  Philip522.
    Plugin Author Tim W

    (@timwhitlock)

    Help configuring WordPress themes is only available here.

    If commercial theme vendors want the WordPress community to provide support to their customers, then they need to make their code publicly available.

    I understand.
    I’ll try to get help from the theme’s support.

    Thank you very much

Viewing 10 replies - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.