Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Locale ressource name change on string update

0 views
Skip to first unread message

tber...@gmail.com

unread,
Sep 29, 2007, 10:11:26 AM9/29/07
to
Hi,

I've been told that we have to change a ressource's name when its
content is changed.
Say that we have <!ENTITY myRessource.label "Enter some infos"> and
that we change its content to "Enter something".
Do we have then to change its name (by example to
myRessourceNew.label) ?
If it does, why ? Is there a good reason ?

Thank you in advance,
Thomas

Michael Wolf

unread,
Sep 29, 2007, 11:08:54 AM9/29/07
to
tber...@gmail.com napisa:

No, what you probably will do is giving an new string value instead of
"Enter some infos", you want to use "Enter something". Then you needn't
(even you mustn't!) change the name of the entity. What are doing? Are
you programming any extension or do you translate anything? If you are
programming you can define the name of the entity. If you translate youd
mustn't change the name of the entity (myRessource.label) but you can
change the value of this entity ("Enter some infos").

Cédric Corazza

unread,
Sep 29, 2007, 11:14:34 AM9/29/07
to
tber...@gmail.com a écrit :
Hi Thomas,
When a semantic change occurs in a string, the rule is to also change
the entity name so that localizers notice the semantic change when their
tinderbox turn to orange, so that they can change it in their locale.

Cédric

tber...@gmail.com

unread,
Sep 29, 2007, 2:18:53 PM9/29/07
to
Michael> I'm programming.

On 29 sep, 17:14, Cédric Corazza <cedric.cora...@gmail.com> wrote:

> Hi Thomas,
> When a semantic change occurs in a string, the rule is to also change
> the entity name so that localizers notice the semantic change when their
> tinderbox turn to orange, so that they can change it in their locale.

Alright, so there's more than
http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=all&branch=HEAD&branchtype=match&dir=&file=%28properties%7Cdtd%29%24&filetype=regexp&who=&whotype=match&sortby=Date&hours=2&date=month&mindate=&maxdate=&cvsroot=%2Fcvsroot
to watch changes in locales.
Then http://tinderbox.mozilla.org/showbuilds.cgi?tree=Mozilla-l10n-fr
turns to orange when there's an entity name mismatch ?

Thomas

Cédric Corazza

unread,
Sep 29, 2007, 2:48:09 PM9/29/07
to
tber...@gmail.com a écrit :Bonsai and tinderbox are both useful.
Tinderbox is able to tell you if a file or a string is missing, or if a
file or a string is to remove. It uses the compare-locale.pl script to
do that.
0 new messages