Translating text on password protected page

  • Posted in : Photographer
  • Anonymous
    Inactive

    Is there a possibility to have text “This page is password protected” etc… translated ? I can not see it in code styling localization plugin for photographer theme.

    Thanks

    Mehmet S.
    Keymaster

    Hi, it comes from wordpress inside. Look it for wordpress language.

    Anonymous
    Inactive

    Thanks, but unfortunately these changes are not visible on my page. Page is still in English

    Anonymous
    Inactive

    What can be the reason that translation is still not visible after generating .mo file?
    Should I copy this file manually to any location?

    Mehmet S.
    Keymaster

    You can find the language files for wordpress in your ftp: /wp-content/languages/.

    But you can easily change your wordpress language from wp admin: settings > general > site language.

    borghe78
    Participant

    Hi Mehmet,
    I have the same problem on my website.
    My WordPress settings are set to “Italian” Language, but the page is still in English.

    How can I solve it ?

    Thank you

    serkan
    Moderator

    Hi @borghe78,
    You can try Loco translate for the localization. You can see the basic usage in the link.
    https://wordpress.org/plugins/loco-translate/installation/

    borghe78
    Participant

    Hi @serkan ,
    I tried Loco translate, but it did not solve my problem with a password protected page .
    He did not find the text to be translated into Italian. :(

    borghe78
    Participant

    ***UPDATE***
    I solved my problem!, I modified the file “function.php”.

    I replaced the translated text ( also the button “Submit”) and I upload the “new” file on my server, Now my password protected page is translated perfectly!!! ;) :)

    serkan
    Moderator

    Hi @borghe78,
    Okay good luck :=)

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

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register