The GMAP View I created only seems to be visible when it wants to be. For example:

http://ifp.hidefdev.com/en - you can see the map work fine!
http://ifp.hidefdev.com/es - you can see the map work fine!
http://ifp.hidefdev.com/fr - no map?
http://ifp.hidefdev.com/ru - no map?
http://ifp.hidefdev.com/zh-hans - no map?

The same works for the page created in the view process:

http://ifp.hidefdev.com/en/incidents - works
http://ifp.hidefdev.com/es/incidents - works
http://ifp.hidefdev.com/fr/incidents - doesn't work?
http://ifp.hidefdev.com/ru/incidents - doesn't work?
http://ifp.hidefdev.com/zh-hans/incidents - doesn't work?

If someone could please shed some light on this, I would be more than grateful. Thanks!

Comments

CWolff’s picture

Update...French is working...Russian, Arabic nor Simplified Chinese is working though.

tom_o_t’s picture

Priority: Critical » Normal
Status: Active » Postponed (maintainer needs more info)

Difficult to give much advice with more info. Is there a reason why the theme doesn't work on your view when that url is accessed directly? (eg. http://ifp.hidefdev.com/es/incidents)

Do you use any arguments in your views? Does your theme do different things based on the current language? Does your view do different things based on the language? The French map seems to show different info to the English map.

Does it work if you do a list view, instead of a map view?

CWolff’s picture

Hi there, there aren't any arugments in my view, just the fields as well as a node filter for content type of "map". Each language is supposed to display different nodes in their native language.

For example: english map has two markers, I translated only one of those nodes (markers) into spanish, thus the spanish map has only one marker. Trying the list thing now, will get back to you.

EDIT: the french doesn't have any nodes in the specified content type translated, yet the map shows up there.

CWolff’s picture

I translated one of the marker nodes into russian, and when I click russian, the list view shows up with the one node I translated into russian. The GMAP view seems to be the only one that doesn't show up.

EDIT: there have been no theming changes for the languages, they all use the same exact theme (the localization is using the i18n module)

tom_o_t’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

I see you've got it working now.

I think the problem was that the map doesn't load if there are no results returned by the view. So when you switch to Chinese, if there are no nodes in Chinese then the map is not shown (always a good idea to put 'empty text' in your views!)

Good luck with the project.