Help PixTheme
  • Home
  • Theme Documentation
  • Forums
  • Log In / Sign Up

Community Forums

Please use one topic for only one question.

Please use one topic for only one question.

Please use one topic for only one question.

Homepage/Forums/Nordis – Medical & Health WordPress Theme/Translate the Button

Translate the Button

This topic is: not resolved
Viewing 15 posts - 1 through 15 (of 15 total)
  • 5 years ago Servaljunior
    Participant

    Hallo!

    Im translating the Website with the Plugin named Polylang. And i got a problem. In the Nordis Themen you have a button in the header. You can change the Text in the Customizer. The problem ist that i can’t translate the button. The Text wich i choose in the Customizer is on the english and german version of the Website. Can anybody help me with it.

     

    I tried to put an CSS class to a Menu Item, but my CSS skills are so low, that i couldn’t solve the issue.

    Thanks in advance!

    5 years ago Support team
    Keymaster

    Hi.

    I added some code. Now you can leave this field empty https://take.ms/PuIgq and translate default string Book an Appointment https://take.ms/Q8nFF

    5 years ago Servaljunior
    Participant

    Thank you so much. Im sorry but to translate the string with polylang.

    I have to “You first need to fill in the relevant fields in the WordPress, plugins or theme settings the source strings.” – Polylang Documentation

    Do you know where can i do it? I apologize for the inconvenience.

    An another question is: The button leads to a german page. How can i do it, that the button on english version of the site leads to the english appointment page?

    Thank you very much!

    5 years ago Servaljunior
    Participant

    Thank you so much. Im sorry but to translate the string with polylang.

    I have to “<span style=”color: #555555; font-family: ‘Open Sans’, ‘Helvetica Neue’, Helvetica, Arial, sans-serif; font-size: 15px;”>You first need to fill in the relevant fields in the WordPress, plugins or theme settings the source strings.” – Polylang Documentation</span>

    Do you know where can i do it? <span style=”color: #555555; font-family: Open Sans, Helvetica Neue, Helvetica, Arial, sans-serif;”><span style=”font-size: 15px;”>I apologize for the inconvenience.</span></span>

    An another question is: The button leads to a german page. How can i do it, that the button on english version of the site leads to the english appointment page?

    Thank you very much!

    5 years ago Support team
    Keymaster

    Internationalization (I18n) means editing php files of your theme and requires limited programming competence. Localization (L10n) means only creating new .po and .mo files and requires only linguistic competence. You can use either poedit or a free plugin, Loco Translate.

    https://polylang.pro/doc/theme-internationalization-and-localization/

    How to translate a theme (or plugin)

    To change the button url you need to activate child-theme and I’ll add code for it.

    5 years ago Osmim
    Participant

    Dear Alexey,

    thank you for help. I did translate the button with the loco plugin. It works. I also activate the child-theme )

    Do you can please add the code?

    PS.: Im logged in with another envato Account. It hapend automaticly

    5 years ago Support team
    Keymaster

    Hi.

    To delete these lines https://take.ms/9FD9S clear the row background color https://take.ms/OTWnG

    I added button link to https://www.casa-dentalis.de/en/termin/ Please, check does it work.

    5 years ago Osmim
    Participant

    Hi!

    Which row do you mean, i cant identify it on the screenshot and wich page is it.

    The right Link is for the english Website is:
    https://www.casa-dentalis.de/en/appointment/

    Thanks for your help!

    5 years ago Support team
    Keymaster

    Hi.

    These lines https://take.ms/9FD9S on this row https://take.ms/DFZRLD https://take.ms/OTWnG

    The button link changed.

    5 years ago Osmim
    Participant

    Thank you sop much for the help and for the quick reactions! You helped me a lot!!

    5 years ago Support team
    Keymaster

    Glad to help)

    5 years ago Osmim
    Participant

    Hallo Alexey,

    a question more. How did you rewrite the button in englisch. It is possible to Write “Book a appointment” so appointment with small “a”? 🙂

    5 years ago Support team
    Keymaster

    Hi.
    Please, check.

    4 years, 12 months ago Osmim
    Participant

    Thank you! Looks grate. Can you tell me where did you rewrite the Code? So i now it for the feature.

    4 years, 12 months ago Support team
    Keymaster

    The button link here nordis/templates/header/header1.php https://take.ms/Spgfc

    The button text here nordis/languages/en_US.po

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

You must be logged in to reply to this topic.

Already a member? Sign In

Log In
Register Lost Password

The Best Thanks

© 2013-2024 PixTheme Studio. All Rights Reserved.