I'm working on an Arabic project my problem is there is a lot of string in xml
are hardcoded on arabic letters, but when I try to export the translation this string doesn't appear on the printout file in python
when I add:
string=u"som arabic text"
The words are exported but how to do this in xml views?
I finally got why the Arabic terms are not exported in the .PO file for translation the problem is in this file :
openerp/tools/tranlate.py
in the line : 777
or 776
there is an instruction to remove non-alphanumeric chars but this instructions don't take the Arabic terms in consideration to do so in python27 change :
sanitized_term = re.sub(r'\W+', '', sanitized_term)
to
sanitized_term = re.sub(r'\W+', '', sanitized_term,flags=re.UNICODE)
that's all