On 09/13/2010 06:31 PM, Stefan Andersson wrote:
> I have not added a translation called "pt". Instead I have added "pt_BR"
> and "pt_PT". This is a message I get from the compiler.
> 
> - Base locale pt not specified, trying to add it.
> 
> Why should or is the compiler generating this message and if it should,
> why is it trying to add one more locale? What is the purpose of that?

There is a fall-back chain for key look-up:

   <language_code>_<sub_code> -> <language_code> -> C

e.g.

  pt_BR -> pt -> C

So for every sub-code, the parent code is needed to assure this chain is
not broken. OTOH, this allows you to maintain all common keys in 'pt',
and only need to maintain those in pt_BR and pt_PT which differ from 'pt'.

T.

> 
> Stefan
> 
> 
> 
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing
> http://p.sf.net/sfu/novell-sfdev2dev
> 
> 
> 
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to