bugGNU Health - Bugs: bug #36554, Localized files are not correctly...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #36554: Localized files are not correctly named

Submitted by:  Hedayat Vatankhah <hedayat>
Submitted on:  Mon 28 May 2012 12:03:52 PM UTC  
 
Category: localizationSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: ClosedRelease: 1.6.0
Module: all

Mon 28 May 2012 07:09:26 PM UTC, comment #2:

Well, you are right. I don't know why, but I previously tried to add Persian language to Tryton using 'fa' code, but it gave me some error code. I thought that it is because Tryton doesn't accept 'fa' and I'm forced to use 'fa_IR'. But I tried again now, and I found that Tryton accepts 'fa', and GNU Health works fine. I still get some error messages, but it seems to be not related to 'fa'. I'll try to find the problem and report the bug to Tryton.
So, this bug is closed :P
Sorry

Thanks
Hedayat

Hedayat Vatankhah <hedayat>
Mon 28 May 2012 05:49:25 PM UTC, comment #1:

Hello Hedayat

In GNU Health you can use neutral languages (language family, as in ISO 639). Tryton expects the code that you actually put in the language code that yoy specify in the Language code in the localization section.

So, you can either use the language code ("en" for neutral english, or "es" for neutral Spanish ) or the language code (lowercase) followed by the country code in capital letter (so es_ES for Spanish from Spain).

I guess something similar can apply for Farsi. "fa" for Persian in general, and fa_IR for Farsi for Iran in particular.

What you have to make sure that the code that you put to the language file and in the _tryton_.py matches the one in the specification ( Administration -> Localization -> Languages ).

Let us know if this helps.

Cheers

Luis Falcon <meanmicio>
Project Administrator
Mon 28 May 2012 12:03:52 PM UTC, original submission:

In GNU Health, localized files for some languages are not correctly named, and so they won't be actually used. For example, Persian files are named "fa.po" in GNU Health, while Tryton expects full language code, fa_IR.po in this case. Therefore, it seems that all Persian .po files should be renamed to fa_IR.po rather than fa.po. The same thing is probably true for it.po and el.po.

Hedayat Vatankhah <hedayat>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by meanmicio (Posted a comment)
  • -unavailable- added by hedayat (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 28 May 2012 08:10:13 PM UTCmeanmicioStatusNeed Info=>None
      Open/ClosedOpen=>Closed
    Mon 28 May 2012 05:49:25 PM UTCmeanmicioStatusNone=>Need Info
      ReleaseNone=>1.6.0

    Back to the top


    Powered by Savane 3.1-cleanup1