WordPress.org

Support

Support » Plugins and Hacks » WP Store Locator » [Resolved] Translation into Spanish

[Resolved] Translation into Spanish

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Tijmen Smit

    @tijmensmit

    There are some issues with WPML, it seems to work for some and fail for others. I will look into it as soon as I have the time for it, which won’t be this week.

    It’s likely that the labels you find in WPML are actually the default values that are set in the wp-store-locator.php and not the ones that are loaded in the /frontend/class-frontend.php which are the ones used on the frontend.

    I will try and fix it in the next release. One solution you could use, is to detect the used language ( I assume wpml sets a variable somewhere that allows you to check which language is current used, or get it from the url param? ) and then based on that set the $labels array content on line 224.

    It’s a bit of a hack solution. But until I figure out why it doesn’t work with WPML, I think this is the only way to do it.

    Ok, thanks for getting back to me. We’re in no urgent rush for it as have just removed the form for now as they only have a few stores anyway, but when expand they will most likely need the feature, so if you can just drop me a message when it’s been fixed that’ll be really appreciated.

    Cheers.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Translation into Spanish’ is closed to new replies.
Skip to toolbar