Start a project

Store Locator WPML Support

WordPress Store Locator FAQViewed 3067 times

We had a deep look into WPML, but unfortunately 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/

Questions & answers (9)

  1. filip tillmannDecember 15, 2020

    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?

  2. Trevor TunnacliffeNovember 26, 2020

    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.

  3. Trevor TunnacliffeNovember 26, 2020

    As per above, need hint to see how to translate the the text entered in for the field “Get Directions Text”‘
    Thanks

  4. Trevor TunnacliffeNovember 26, 2020

    How does one translate the value in the Store locator Title – it is set in admin for one language, as described in
    https://www.welaunch.io/en/knowledge-base/faq/can-change-title-text-find-store/
    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”?

  5. Daniel BarenkampNovember 26, 2020

    You need to use WPML > String Translations.

  6. Mathias LoftMay 6, 2020

    How can i make the button inside the input searchbox on the search for store page?

  7. WeLaunchMay 8, 2020

    Via custom CSS.

  8. MattNovember 7, 2018

    I have set the distance unit to KM however the distance still shows in Miles (data) with the KM’s label. Any ideas?

  9. WeLaunchNovember 7, 2018

    Where exactly? Can you send us a screenshot?