[openstreetmap/openstreetmap-website] Only use language part of locale for Wikidata link (#1196)
notifications at github.com
Sat Apr 2 15:12:57 UTC 2016
@tomhughes Yes, Wikidata does use language codes with regions, if you pass it en-GB it'll try to display labels in British English, but most items don't have labels in British English, so better to just send the language without the region and get the labels in non-region specific English.
I don't think switching from full locale to just language code will break anything.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rails-dev