Why aren't you using standard language codes?

  • 1
  • Question
  • Updated 6 years ago
ISO 639-1 is the standard just about everywhere. To use your API and serve the correct language for the user requires a bunch of tedious code to translate from the standard to your different codes. Please consider changing this.

http://www.w3schools.com/tags/ref_lan...
http://en.wikipedia.org/wiki/ISO_639-1
Photo of DylanG

DylanG

  • 6 Posts
  • 0 Reply Likes
  • frustrated

Posted 6 years ago

  • 1
Photo of Brendan Hayes

Brendan Hayes, Official Rep

  • 962 Posts
  • 123 Reply Likes
I know what you mean. The problem is we have legacy code going back 17 years built on the language strings we use. If we change the language strings then other people's code will break that's already using our codes. In the future maybe we can add an ISO parameter and update the language codes to be standardized, which will be good for new developers like yourself, without breaking other people's codes who have been built to use our language codes.
Photo of DylanG

DylanG

  • 6 Posts
  • 0 Reply Likes
It seems preferable that WeatherUnderground write this code once and have it be correct rather than 1000 developers write it a 1000 times. I would think anyone doing a new implementation would prefer standard language codes.