Title: Problems with WPML
Last modified: September 1, 2016

---

# Problems with WPML

 *  [webdesignedc](https://wordpress.org/support/users/webdesignedc/)
 * (@webdesignedc)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/problems-with-wpml-4/)
 * Hi,
 * I filled both Google API fields, and with main language (portuguese) it’s all
   ok, but when i open the page in another language (spanish), the store locator
   window map doesn’t load the localization, and the store list on left seems crash
   on loading.
 * [http://www.kidtokid.es/tiendas/](http://www.kidtokid.es/tiendas/)
 * Thanks
 * [https://wordpress.org/plugins/wp-store-locator/](https://wordpress.org/plugins/wp-store-locator/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Tijmen Smit](https://wordpress.org/support/users/tijmensmit/)
 * (@tijmensmit)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/problems-with-wpml-4/#post-7607658)
 * Two problems.
 * 1) There is JS error which can break the map.
 * Timestamp: 27/07/2016 11:51:28
    Error: ReferenceError: isIE is not defined Source
   File: [http://www.kidtokid.es/wp-content/themes/jupiter/assets/js/plugins/wp-enqueue/smoothscroll.js?ver=5.0.12](http://www.kidtokid.es/wp-content/themes/jupiter/assets/js/plugins/wp-enqueue/smoothscroll.js?ver=5.0.12)
   Line: 691
 * 2) This is a bigger problem.
 * [Cross-Origin](https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS)
   Request Blocked: The Same Origin Policy disallows reading the remote resource
   at [http://www.kidtokid.pt/wp-admin/admin-ajax.php?lang=es&action=store_search&lat=39.399872&lng=-8.224454000000037&max_results=25&radius=50&autoload=1](http://www.kidtokid.pt/wp-admin/admin-ajax.php?lang=es&action=store_search&lat=39.399872&lng=-8.224454000000037&max_results=25&radius=50&autoload=1).(
   Reason: CORS header ‘Access-Control-Allow-Origin’ missing).
 * You are trying to read data from another domain, and this isn’t allowed for security
   reasons. You will have to set the [correct headers](https://www.google.nl/search?q=add+cors+support&ie=utf-8&oe=utf-8&client=firefox-b-ab&gfe_rd=cr&ei=AoWYV-uWFMSF8Qeg8Z74DA)
   on your server for this to work.
 * You can also try and ask your host if they can set the correct headers for you.
 *  Thread Starter [webdesignedc](https://wordpress.org/support/users/webdesignedc/)
 * (@webdesignedc)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/problems-with-wpml-4/#post-7607884)
 * Hi,
 * We’re using two different domains with WPML: kidtokid.pt for portuguese version
   and .es for spanish version.
 * Can we solve that without request host help?
 * Thanks

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Problems with WPML’ is closed to new replies.

 * ![](https://ps.w.org/wp-store-locator/assets/icon-256x256.jpg?rev=1007784)
 * [WP Store Locator](https://wordpress.org/plugins/wp-store-locator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-store-locator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-store-locator/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-store-locator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-store-locator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-store-locator/reviews/)

## Tags

 * [Google API](https://wordpress.org/support/topic-tag/google-api/)
 * [language](https://wordpress.org/support/topic-tag/language/)
 * [loading](https://wordpress.org/support/topic-tag/loading/)
 * [store list](https://wordpress.org/support/topic-tag/store-list/)

 * 2 replies
 * 2 participants
 * Last reply from: [webdesignedc](https://wordpress.org/support/users/webdesignedc/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/problems-with-wpml-4/#post-7607884)
 * Status: not resolved