Jump to:

23491 Posts in 18996 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » GoogleSitemap uses "," for decimal separator on german site

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

Page: 1
Go to End
Author Topic: 828 Views
  • x75
    Avatar
    Community Member
    42 Posts

    GoogleSitemap uses "," for decimal separator on german site Link to this post

    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

    828 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.