I'm using WPML but I cant find how to translate certain strings

This topic has 15 replies, 4 voices, and was last updated 8 years, 8 months ago ago by Eva Kemp

  • Avatar: Soapmarine
    Soapmarine
    Participant
    July 9, 2015 at 16:29

    Dear team,

    I’m using WPML for my website. I scanned my site to identify all possible strings but unfortunately still cant find strings appropriate to the theme: example, I cant find strings ‘Previous page’, ‘View more products’.

    Can you help please?

    thank you!

    Please, contact administrator
    for this information.
    14 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    July 10, 2015 at 12:43

    Hello,

    As I see you don’t have our theme listed in WPML > Theme and Plugins Localization as shown in the screenshot https://d2salfytceyqoe.cloudfront.net/wp-content/uploads/2009/09/scan-theme-for-texts.jpg of WPML documentation https://wpml.org/documentation/getting-started-guide/theme-localization/

    The same issue persists with default WordPress Twenty Fifteen theme.
    We recommend you to ask WPML support concerning this issue. Please mention in your query that theme isn’t shown with default WordPress Twenty Fifteen theme.

    Thank you.

    Regards,
    Eva Kemp.

    Avatar: Soapmarine
    Soapmarine
    Participant
    July 21, 2015 at 13:12

    Hi Eva,

    I contacted WPML team, they look at the issue.
    They found the problem and it is related to theme.
    Theme is using PHP constant for Text Domain e.g.
    1

    _e(‘No posts were found!’, ETHEME_DOMAIN)

    Which is not recommended by WPML and WordPress. Theme should use hard-coded text domain like _e(‘No posts were found!’, ‘legenda’) Please check
    https://wpml.org/documentation/support/troubleshooting-string-localization/#2
    https://markjaquith.wordpress.com/2011/10/06/translating-wordpress-plugins-and-themes-dont-get-clever/
    Can you please correct this issue to make it work?

    thank you!

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    July 27, 2015 at 11:19

    Hello,

    We’re sorry for a long delay. It was caused by a lot number of work.

    Did WPML support team check the issue with Twenty Fifteen theme?
    In the previous post my colleague mentioned that the issue persists there too.
    “Twenty Fifteen” theme isn’t listed as shown on WPML screenshot:
    https://d2salfytceyqoe.cloudfront.net/wp-content/uploads/2009/09/scan-theme-for-texts.jpg

    You can check it yourself. Activate Twenty Fifteen in Appearance > Themes and check “Theme and plugins localization” section in WPML.

    Thank you.

    Best regards,
    Jack Richardson.

    Avatar: Soapmarine
    Soapmarine
    Participant
    July 27, 2015 at 11:31

    Hi Jack,

    WPML team checked the Twenty Fifteen theme but they say the problem is how your theme is coded.
    Please see their recommendation I already mentioned.

    thank you,

    Avatar: Eva
    Eva Kemp
    Support staff
    July 27, 2015 at 12:44

    Hello,

    Please show on a screenshot what elements exactly you can’t translate.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: Soapmarine
    Soapmarine
    Participant
    July 27, 2015 at 13:27

    Hi Eva,

    all this part I cant translate:

    http://imgur.com/JrT1a6S

    There are much more. But this is the most important, and I think if we find how to translate this I have a clue how to translate the rest.

    thank you!

    Avatar: Eva
    Eva Kemp
    Support staff
    July 27, 2015 at 21:05

    Hello,

    Please provide us with FTP credentials in Private Content.
    Have you made any changes in original theme files?

    Regards,
    Eva Kemp.

    Avatar: Soapmarine
    Soapmarine
    Participant
    July 27, 2015 at 23:44

    Hello Eva,

    I have not made any changes in the original file.
    thank you!

    Please, contact administrator
    for this information.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    July 28, 2015 at 10:52

    Hello,

    Sorry, but FTP credentials are incorrect. Please check them.

    Best regards,
    Jack Richardson.

    Avatar: Soapmarine
    Soapmarine
    Participant
    July 28, 2015 at 11:40

    Hello Eva,

    I verified and to be sure changed the password:

    thank you!

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    July 29, 2015 at 08:58

    Hello,

    We’ve forwarded this issue to our developers. You’ll be notified as soon as we get a reply from them.

    Thank you for your patience.

    Regards,
    Eva Kemp.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    August 1, 2015 at 08:16

    Hello,

    We took into account your comment about constant instead of string in our theme. We’ll work on improvement. At present, to translate necessary strings of our theme use .po file and Poedit as mentioned in theme documentation https://www.8theme.com/demo/docs/legenda/index.html#!/how_to_translate

    Regards,
    Olga Barlow

    Avatar: Soapmarine
    Soapmarine
    Participant
    August 4, 2015 at 09:32

    Hello Olga,

    I have used .PO files for these translations.
    But there are couple of translations that I cant find neither in wpml strings, neither in .PO files:
    http://imgur.com/x7AZdZ2 and http://imgur.com/PluhUE3

    thank you in advance!

    Avatar: Eva
    Eva Kemp
    Support staff
    August 4, 2015 at 10:55

    Hello,

    You need translate MailChimp plugin. Please refer to their documentation:
    https://mc4wp.com/kb/translating-plugin/

    “Proceed to PayPal” text you can edit in the file woocommerce-fr_FR.po in wp-content/languages/plugins directory.
    “Shipping and Handling” text in present in default.po file in wp-content/themes/legenda/languages directory. Please check if you imported it to your .po files.

    Regards,
    Eva Kemp.

  • Viewing 15 results - 1 through 15 (of 15 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.