i'm experience issues with multilanguage sites. as soon as i a hostname with a different language then english the coordinates gets rendert differently.
I haven't tried this with Umbraco, but with another CMS.
Where do you have these values? From XSLT or?
It seems XSLT ignores the CultureInfo of the thread and can only handle decimal numbers if they are in the English format (with periode as decimal marker).
Actually I'm not sure there's anything you can do.
I'm guessing the problem is that the coordinates are stored as string in some XML, and when you type them in in the back-office, you might be running with English rules for numbers, and when the values are pull out again from the front-end, it depends on what language the site is running.
I'm not sure the source code is public, so there's no way for me to make sure, we'll have to wait for feedback from the project owner.
Multilanguage Issue
Hi,
i'm experience issues with multilanguage sites. as soon as i a hostname with a different language then english the coordinates gets rendert differently.
eg:
english: 47.13046,11.54061999999999,8 (correct)
german: 471304611540619999999998 (wrong)
anyone experienced the same?
thx in advance,
Andi
Umbraco 4.7, Multilanguage Site, Google Maps v3
I haven't tried this with Umbraco, but with another CMS.
Where do you have these values? From XSLT or?
It seems XSLT ignores the CultureInfo of the thread and can only handle decimal numbers if they are in the English format (with periode as decimal marker).
The values are from a razor script!
Haven't tried the XSLT version at the moment. I will look further into this issue and run a few tests.
Actually I'm not sure there's anything you can do.
I'm guessing the problem is that the coordinates are stored as string in some XML, and when you type them in in the back-office, you might be running with English rules for numbers, and when the values are pull out again from the front-end, it depends on what language the site is running.
I'm not sure the source code is public, so there's no way for me to make sure, we'll have to wait for feedback from the project owner.
I can confirm that this seems an multilanguage issue with razor, using a XSLT version works fine with multilanguage sites.
maybe this issue can be solved within a upcomming release!
Andi
is working on a reply...