PyBossa/pybossa — pull request #612 by chispita (2013-11-28 12:11:29+00:00)
Title: Issue 582 obtain language api

Hi,

In some application we need to know the current user language to put the presenter according the language to the user. To do it I add a new function in api.py to get the settings of the user.

If the user is anonymous return None and you can obtain the language of the browser, but if the user is authenticated return the language field and you can use this value.

Best Regards