Page MenuHomePhabricator

The language of google map is hardcoded by the first viewer
Closed, ResolvedPublic

Description

The example user shows Japanese for me, and I can see ja hardcoded in the page source. On preview it turns into Finnish.


Version: unspecified
Severity: normal
URL: http://translatewiki.net/wiki/User:Qdinar

Details

Reference
bz30947

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:48 PM
bzimport set Reference to bz30947.
bzimport added a subscriber: Unknown Object (MLST).

I don't see how that can be fixed. Any suggestions?

Can you elaborate why you think it cannot be fixed?

I do not thing it cannot be fixed. I simply don't see how it can be fixed. (you could have the parser function turn of the cashing for the page, but that's a rather bad thing to do)

Is there some problematic order requirements of the scripts? Can we make it load a small script instead. The only thing that script would do is to load the correct language version of the real script.

This is actually what I initially tried when implementing the Google Maps v3 stuff, but the GM API didn't seem to like loading it after page load. (The thing you load is in itself a script loader.) I might just have been doing something wrong though - this is something worth looking into.

Right now the script gets loaded via a script tag created by the actual parser function PHP.

For clarification, the bug was only moved to GitHub.