|BrainBlog is the Brains4All weblog. Established 2004 in The Netherlands. Brains have been working in IT since 1983, working on the internet since 1993, and using their own agile development process for design and application development since 2003. We talk about about design and usability, the industry of software and web development, web applications and simplicity, beautiful and spectacular things.|
PayPal language codes are warped
April 22, 2008 |
It turns out PayPal has changed the way language codes are working when you send a customer to make a payment. We've got it fixed now in 14Dayz so if you experienced a strange foreign language, that was PayPal on the fritz.
To help some fellow developers in the future who are wondering why is PayPal displaying the payment screen in the wrong language here is the missing documentation.
PayPal now uses country codes instead of language codes. Which is basically a false assumption by PayPal. It is often made by developers. In lots of countries two or more languages are spoken. Some countries even have two or more official languages.
PayPal uses the url parameter lc (language code)
These are now country codes, before they used to be language codes so setting the English language would be done by putting