Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

GoogleSitemap uses "," for decimal separator on german site


Go to End


1231 Views

Avatar
x75

Community Member, 43 Posts

21 May 2010 at 9:26pm

Hi,
I use

i18n::set_locale('de_DE');
setlocale (LC_ALL, 'de_DE@euro', 'de_DE', 'de', 'ge');

in my _config.php to set all formating to german on the site. The problem is, this also changes the decimal separator that is used by the googlesitemap module for the priority tag. Google Webmaster Tools Complains about this.
Is there a way to switch the formating back to en_US just for the sitemap module?

Thanks
Johannes