I would like to translate the placeholder text in the header and ajax search form but WPML doesn’t seem to locate and find the correct string.
I set the placeholder to “”Otsi tooteid…”” as it is in Estonian by default, but I also need it to change when the site is set to English and maybe some other language.
Am I missing something or what plugin or theme files should I let WMPL scan to find the correct string?
Hello, @Henrik Kriiger,
Translation files include only strings that were used in PHP files and can’t be edited from the Theme Options or backend. Search placeholder text of the header builder element is custom text and it can be changed via Theme Options > Header builder > Search, it’s not included to translation files because it’s not hardcoded. If you create multilanguage site using WPML for example then all the strings from the admin module could be added to the translation using WPML settings http://prntscr.com/qxsbgb to translate them to other languages.
1) Go to Theme Options > Header builder > edit search and translate the search placeholder text to your language.
2) After that you need to translate these admin strings to other languages of your site. To do this go to WPML > String translator > scroll down and click translate admin strings > check the strings you need to translate and add them to string translator.
3) Go back to string translator and translate strings to other languages.
Regards 8Themes Team.
You must be logged in to reply to this topic.Log in/Sign up
One standard license is valid only for 1 project. Running multiple projects on a single license is a copyright violation.