Translating Field Labels and Form Labels

This topic contains 30 replies, has 3 voices, and was last updated by  Colin Whiteside 3 years, 10 months ago.

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

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #7740

    Patrik
    Moderator
    Post count: 1971
    This reply has been marked as private.
    #7753

    Patrik
    Moderator
    Post count: 1971
    This reply has been marked as private.
    #7756

    Colin Whiteside
    Full Member
    Post count: 46

    Thank you Patrik!

    I’ll give that a try!

    Colin

    #7770

    Colin Whiteside
    Full Member
    Post count: 46
    This reply has been marked as private.
    #7781

    Alex Rollin
    Moderator
    Post count: 27815

    It should be working if you are using the plugin from the link above.
    It creates a file and then you scan again
    https://wpgeodirectory.com/docs/translating-custom-fields/

    Thanks for your patience while the developers look into it.

    #7787

    Patrik
    Moderator
    Post count: 1971

    Hi,

    Can you please check in the userswp folder if there is a file called db-language.php created or not? If the file is created then it will contain all the dynamic strings for the UsersWP plugin. You can go to WPML->String translation and search for the language domain userswp and you will find those strings there.

    Regards,
    Patrik

    #7810

    Colin Whiteside
    Full Member
    Post count: 46

    Thank you very much! It works great!

    I re-installed the new plugin, scanned again… it did create the file db-language.php and I could see the strings were there.

    They did not show up in WPML String Translation but then I realized it would need to scan the plugin… which is WPML -> Theme and Plugins Localization -> select userswp -> scan selected plugins for strings… now the strings are there (in string translation) to translate!

    Thank you for making UsersWP multilingual!

    We really appreciate your work and your quick response to our needs.
    Colin

    #7811

    Patrik
    Moderator
    Post count: 1971
    This reply has been marked as private.
    #7986

    Colin Whiteside
    Full Member
    Post count: 46
    This reply has been marked as private.
    #8009

    Patrik
    Moderator
    Post count: 1971

    Hi,

    Thanks for giving your valuable reviews. Can you please give a screenshot so that we can get more ideas on where the issue is?

    Regards,
    Patrik

    #8037

    Colin Whiteside
    Full Member
    Post count: 46
    This reply has been marked as private.
    #8184

    Patrik
    Moderator
    Post count: 1971

    Hi,

    Have you tried the DB text translation tool? This will add all the strings stored in the database to the file so that it can be found by POEdit or translation plugin. Go to UsersWP->Status->Tools->DB text translation and click on Run. It will generate the file called db-language.php in the root of the UsersWP plugin folder. You can use the .po file to translate those strings.

    Please try it and let me know if it helps or not.

    Regards,
    Patrik

    #8199

    Colin Whiteside
    Full Member
    Post count: 46

    Yes, I used the translation tool and translated the strings.

    The strings show up translated (in the appropriate language) on the “account” page (perfect),

    but they still show up in English on the profile page or the users page no matter what language is selected.

    (The screenshots above are while in the Spanish language.)

    Thanks,
    Colin

    #8201

    Colin Whiteside
    Full Member
    Post count: 46

    Hi there,

    This issue is still pending, and is the last hurdle to us being able to launch this site. We would greatly appreciated it if you could fix this. Only part of the issue was fixed.

    The strings on the account page are translated – thank you – you fixed that for me.

    However, those same strings show up on the UsersWP users page and some also show up on on the profile page (profile tabs) – but always in English (regardless of language selected).

    Thank you,
    Colin

    #8202

    Patrik
    Moderator
    Post count: 1971

    Hi,

    I am looking into this issue and will get back to you with the solution soon.

    Regards,
    Patrik

Viewing 15 posts - 16 through 30 (of 31 total)

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

Open Support Ticket