Translation of login shortcode texts

Support General Translation of login shortcode texts

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #40503
    picatabaibospicatabaibos
    Participant

    Hi,

    I'm trying to translate all the text (labels and error messages like "Your information has been successfully submitted. Thank you.") from the following shortcodes: [mb_user_profile_info], [mb_user_profile_info id="rwmb-user-info"] (to change password) and [mb_user_profile_login].

    Can you please help?

    Thank you,
    João Neves

    #40514
    PeterPeter
    Moderator

    Hello,

    This text is registered for translation under the domain "mb-user-profile". If you are using a translation plugin, please scan the plugin and find the text with the domain to translate.

    You can find it in the file /mb-user-profile/src/Forms/Info.php line 34

    #41129
    picatabaibospicatabaibos
    Participant

    Hi @Peter, I'm not using a translation plugin.

    What's the safest way to translate the text without plugin?

    Thank you

    #41147
    PeterPeter
    Moderator

    Hello,

    You can use the supported attributes of the shortcode to add your own text. For example:

    [mb_user_profile_info id="field-group-id" confirmation="my confirmation message"]

    Please read more on the documentation https://docs.metabox.io/extensions/mb-user-profile/#edit-profile-form

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