Strings I can't translate (4)

This topic contains 11 replies, has 2 voices, and was last updated by  Guust 6 years, 9 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #418689

    ian bran
    Expired Member
    Post count: 122

    Hi,
    I’m having trouble translating some strings. I’ve set the language files of every plugin installed (plus supreme directory) but had no luck with the following strings ๐Ÿ™
    (image attached):

    – Select: in Change location tab

    in My account page:

    – Events
    – Listings
    – My Invoices

    Thank you for any clue about this slippery strings!

    #418745

    Guust
    Moderator
    Post count: 29970

    โ€“ Select: in Change location tab
    Is in the Location Manager language file

    in My account page:
    โ€“ Events

    This depends what plugin you use to create the accounts page, maybe the Buddypress integration or the UsersWP integration

    โ€“ Listings
    This depends what plugin you use to create the accounts page, maybe the Buddypress integration or the UsersWP integration

    โ€“ My Invoices
    This is the “My Invoices %s” string in the Invoices plugin

    Thanks

    #418770

    ian bran
    Expired Member
    Post count: 122

    Hello Guust, thank you for replying ๐Ÿ™‚

    I did find them, but the translation doesn’t work.

    For Invoices plugin I have these files in wp-content/languages/plugins:

    invoicing.pot
    invoicing-es_ES.po
    invoicing-es_ES.po

    For this plugin, translations don’t work at all
    —————————————————-
    – I Found “Events” and “Listings” in Buddypress Integration, but they just won’t translate.
    – Same with “Select” in geodirlocation-es_ES.po

    For these addons these are the only (so far) strings that won’t translate.

    – also “Photos” in geodirectory-es_ES.po

    So it’s just some strings…I’m clueless about this

    Anybody having similar issues?

    #418836

    Guust
    Moderator
    Post count: 29970

    The files that make the translations happen are the .MO files.
    The .PO files are only to translate and that will create the .MO files.
    So .PO or .POT files are not enough, you need the .MO files.

    Post your URL, WP admin and FTP details and we’ll check it out.

    #418870

    ian bran
    Expired Member
    Post count: 122
    This reply has been marked as private.
    #418889

    Guust
    Moderator
    Post count: 29970

    Please check now, you were using all old versions of the language files:
    https://wpgeodirectory.com/docs/updating-your-language-files/

    Thanks

    #418943

    ian bran
    Expired Member
    Post count: 122

    Hello Guust,
    thank you so much for updating the files. I now know where to look in the future.

    I have to comment that I downloaded the translation files from https://wpgeodirectory.com/translate/projects/ just recently.

    Best regards!

    #418971

    Guust
    Moderator
    Post count: 29970

    You’re welcome ๐Ÿ™‚

    #418974

    ian bran
    Expired Member
    Post count: 122

    Hi Guust,
    sorry for bothering again.

    I now have more strings untranslated, although I did translate them in the .po files in wp-content/languages/plugins/…for example:

    wp-content/languages/plugins/geodirectory-es_ES.po
    wp-content/languages/plugins/geodirevents-es_ES.po

    this is so frustating…Were these the files you updated?

    please help!

    #418979

    Guust
    Moderator
    Post count: 29970

    I did not touch or update the Events files.
    I can see you changed some more strings in the geodirectory-es_ES.po file, but you have not re-uploaded the geodirectory-es_ES.mo file, that is still the old one.
    Without re-uploading the MO files, the translations will not work.

    When plugins need updating, sometimes strings need to be changed, so strings that worked before an update may be replaced and therefore stop working. That is very rare, but sometimes it is the only way to fix translation strings for all languages.

    So when a translation does not work, check your language file is up to date, and then check what extra needs translating.

    Let me know how you go. Thanks

    #418985

    ian bran
    Expired Member
    Post count: 122

    Oh so each time I edit the PO files I need to delete the old MO, now I get it. It’s working.

    Thanks for the patience!

    #418991

    Guust
    Moderator
    Post count: 29970

    Yes, it is the MO file that makes the magic happen ๐Ÿ™‚

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

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount