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.

General Questions /

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

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

GoogleSitemap uses "," for decimal separator on german site


Reply


910 Views

Avatar
x75

Community Member, 42 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