This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Translatable string as placeholder in search box

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Translatable string as placeholder in search box

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #14345
    SanderSander
    Participant

    What is the best way to translate or show a translatable string as placeholder in the search box.

    I know I can change the text for the placeholder here, but where to translate it?: https://www.dropbox.com/s/qgw3mbqapynt065/search1.png?dl=0
    I see there is no POT file present in the plugin folder?

    #14347
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    .po file would not help, because that text is dynamic (it can be changed) and .po files can only hold static text translations.

    It can be translated either with Polylang or WPML String translations plugins, please see: Translating components

    #14350
    SanderSander
    Participant

    Found it in WPML, however it seems my base strings EN are set to NL , so I can’t translate the text correctly. Why is that?
    It shows the NL language as default while it should show EN as default.

    https://www.dropbox.com/s/cd7j1c8l3sbog4v/search2.jpg?dl=0

    #14351
    SanderSander
    Participant

    Nevermind found it, I should enter the default string as EN 😉

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