We had a deep look into WPML, but unfortuantely it is not possible to use WPML with custom Database Queries (needed to lat / lng <-> distance).
It is possible to translate everything with WPML except the stores data (like name, description).
You can read more about this here: https://wpml.org/forums/topic/display-custom-types-based-on-language-in-a-custom-plugin/
9 thoughts on “Store Locator WPML Support”
I have set the distance unit to KM however the distance still shows in Miles (data) with the KM’s label. Any ideas?
Where exactly? Can you send us a screenshot?
How can i make the button inside the input searchbox on the search for store page?
Via custom CSS.
How does one translate the value in the Store locator Title – it is set in admin for one language, as described in
but we need to translate when language switched with WPML – EG “Find in Store” entered in EN is to become “Trouvez un magasin” when site is switched. Where can we enter “Trouvez un magasin”?
You need to use WPML > String Translations.
As per above, need hint to see how to translate the the text entered in for the field “Get Directions Text”‘
Thanks for quick response – but what string translation to use? I see the strings for the admin form name for both problem fields, for example “Store locator Title” and “Get Directions Text” but not the actual text that shows to the user.
Hello! Im trying to implement Wordpress Store Locator in a WPML environment. Unfortunately I cant add different values for the different languages. As for example the button naming for the form.
With the WPML String Translator, its only possible to change the backend labeling for the all the options.
Am I doing something wrong? How can I for example change the filter names for different languages?