[openstreetmap/openstreetmap-website] Only use language part of locale for Wikidata link (#1196)

Edward Betts 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...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20160402/00626434/attachment.html>

More information about the rails-dev mailing list