I think it is better to add EN only just because it will be simpler to
filter missing keys in other bundles later.
W dniu 20/01/14 10:05, Lucas Ponce pisze:
Hello,
I prefer (a) as well.
Lucas
----- Mensaje original -----
> De: "Peter Palaga" <ppalaga(a)redhat.com>
> Para: "gatein-dev" <gatein-dev(a)lists.jboss.org>
> Enviados: Viernes, 17 de Enero 2014 21:10:41
> Asunto: [gatein-dev] Syncing Changes in Resource Bundles
>
> Hi *,
>
> As far as I know there are no explicit rules for situations like
> (1) New key added in the master (en) resource bundle (RB).
> (2) English text changed for some key.
>
> I can think of two solutions:
>
> (a) The "void" solution:
> * When adding to en RB file, do not add anything to other locale's
> RB files (except for those which you can reliably translate
> yourself)
> * When changing a key in en, remove the associated key-value pairs
> from all other RBs (except for those which you can reliably
> translate yourself)
>
> (b) The "use en" solution:
> * When adding to en RB file, add the very same English
> value-pair to all other RB files (except for those which you can
> reliably translate yourself)
> * When changing a key in en, replace all values in the RBs that
> you cannot translate yourself with the final English value you
> just have changed.
>
> I hope I explained (a) and (b) clearly enough.
>
> Pros and Cons:
>
> (a)
> * Less work when adding keys
> * Perhaps less error prone (delete the whole key-val is simpler than
> replace)
> * Probably more suitable to find out automatically (QA!) which keys
> in which RBs need to be (re-)translated
>
> (b)
> * Easier for translators to see which keys need to be translated
> without needing to look into source language file.
>
> I tend to prefer (a).
>
> Please comment!
>
> Thanks,
>
> Peter
>
> _______________________________________________
> gatein-dev mailing list
> gatein-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/gatein-dev
>
_______________________________________________
gatein-dev mailing list
gatein-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/gatein-dev
--
Bolesław Dawidowicz
JBoss Portal Platform Architect | GateIn Portal Project Lead