[ejabberd] Version 1.1.2: Minor translations update needed

Etan Reisner deryni at eden.rutgers.edu
Wed Sep 27 00:16:24 MSD 2006


On Tue, 26 Sep 2006, Mickael Remond wrote:
> * Sander Devrieze <s.devrieze at pandora.be> [2006-09-26 19:13:57 +0200]:
>
>> Op dinsdag 26 september 2006 17:53, schreef Etan Reisner:
>>> While I agree with the sentiment behind wanting to use 'opaque'
>>> identifiers in the code so that they don't need changing, it makes
>>> casual reading of the code a little harder, since you need to more
>>> carefully follow which error case/etc. you are in since you don't have
>>> meaningful error messages anymore. Just something to keep in mind.
>>
>> That can be solved by adding a new feature to your IDE: showing the
>> translation instead of the identifier. The advantage is that the coder can
>> see the strings in his language and he can see immediately not so good
>> translations.
>
> And 'opaque' do not have to be that 'opaque'.
> Something like: admin.login.required, admin.login.failed,
> muc.room.jidshownto etc can give enough information to the developer.

Most certainly there are ways to make this not a problem, I just wanted 
to make sure this 'issue' was thought about before-hand as opposed to 
afterwards. I'm confident that things will work out fine in the end.

 	-Etan


More information about the ejabberd mailing list