User specific language settings
Submitted by beginner on Sun, 07/22/2007 - 10:16.
| Project: | ProjectPier |
| Version: | 0.8.5.x-dev |
| Component: | User interface |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | new |
Description
It would be great if a user could select the language for his/her user interface independent of others. The acceptance of projectpier in international projects would benefit.

This will also affect all language specific settings: date and time, currency and so on (see attachment as example).
Yes, this would be great. I do international collaboration, and it would be *very* helpful (and promote participation) for users' first languages to be available to them.
(This is also mentioned as part of , "More settings should be user-specific".)
I wanted to add some thoughts I wrote down before throwing the piece of paper on which I wrote :)
* add item in DB for the locale: en_us, es_es, fr_fr...
* modify the lang() function to get the user's locale
We might want to fall back on English as well, with maybe an emphasis or something (just to show that the string has been replaced by English as a fall-back), so that translation packages that are not up-to-date can still be used with newer versions of the software without having the error message "Missing lang string".
* modify the user settings view to add the list of installed languages (it should be easy to get just by scanning the folder)
* modify the account view
* possibly modify the user card to show what language is used, but that might be too much information (as much for privacy concern as for unnecessary clutter)
* modify user creation to use the default (=company) locale, the same way the timezone of the company is used by default for a new user
It should be pretty easy to do, but I just don't have time right now. ;-)
This is a pretty important point for everyone working on multinational projects; or having customers from different countries.
For example, most of my customers speak de_de, but there is also a big group of en_gb people, so I would really love to see this as enhancement for the users profile :)
As developer I could help fixing this issue, but someone has to tell me which files are involved, cause I have no time to read through all sources of this great project!
I don't think the issue of missing translations has something to do with this point (okay, its translation stuff somehow, but not really connected). If the "users" table would not just have a "timezone" attribute but a "language" attribute also (it might even be a string with the locale) most of this could be solved. Fallback (think about missing translations in migrated systems) should always be the system default language.
You could even use the default language when creating a new user. The only point that MUST be changed is the user settings dialog. I don't think that a flag icon is required in the accounts listing.
Ok, to come to an end, give me the filenames and I will work on it and append the patch here (might need some days, but I will do)...