Extending localization functionality in GTK client
I'm working on localising GTK client at OpenERP-Iran sub-project and I need to implement some locale-specific user options like: support for Arabic numeral symbols, Jalali calendar(the official Iranian civil calendar) and Jalali date widgets along side of the standard ones (Gregorian calendar and European numeral symbols) at the client side.
First, I made a server module named "base_iran" which simply inherits "base" module and then add "context_calendar" and "context_numeral" fields to "res.users" object and views. So users can switch to their own calendar/numeral system at the same time (however I think the base module itself should contains them due to wide range of international uses. Also python "locale" can't help me to solve this problem).
The problem is that I'm not sure about the standard way of implementing the GTK client localisations (Arabic-Persian numeral symbols, date widgets, calendars). The first solution comes in mind is to use some extension framework or plugin system.
It seems that the "plugin" package for the client application is not intended to be used for this purpose and "Extension Manager" due to lack of documentation is unusable.
The only workarounds in my mind are: Change the widgets directly and then maintain a localised version of GTK or publish my contribution in the hope they will be used in official main branch.
Please help me to find the best way of implementing these features.
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- OpenERP Committers Edit question
- Solved by:
- avion
- Solved:
- Last query:
- Last reply: