Okay
  Public Ticket #2743733
customize text in search bar
Open

Comments

  • Kate Taylor started the conversation

    How do you customize the text in the search bar? "Keyword to search...?" doesn't make sense in English so I'd like to change that.

    Attached files:  Screen Shot 2021-04-07 at 2.03.35 PM.png

  •  1,463
    Support Agent 1 replied

    Hi Kate,

    In order to customize that placeholder text you would need to translate the theme.

    Please refer to the following article:

    How to translate theme?

    Please use PoEdit - https://poedit.net/ to translate the .pot file and create respective .po and .mo files.

    Please name .po and .mo files e.g. potname-nl_NL.po and potname-nl_NL.mo (nl_NL is the language code for dutch and potname is the name of the .pot file you have started from - it corresponds to text domain of the theme). For other languages' codes, please refer to the following link: Internationalization.

    Also make sure to translate the theme's plugin .pot file, located in \wp-content\plugins\bello\languages folder. 

    The steps are the same as for the theme, except the files should be named bt_plugin-nl_NL.po and bt_plugin-nl_NL.mo (with appropriate language code).

    For plugin’s .po and .mo files, you should place them in \wp-content\languages\plugins folder.

    Let us know if you need help with anything else.



    Regards, BoldThemes team

    If you like our products please consider leaving us a rating. A huge thank you from BoldThemes in advance!