Envoyé depuis mon smartphone Samsung Galaxy.


-------- Message d'origine --------
De : Jerome Lelasseux <lelass...@yahoo.com.INVALID>
Date : 04/02/2020 14:59 (GMT+01:00)
À : users@netbeans.apache.org
Objet : Internationalization with Netbeans

Hi,

I need to internationalize my Netbeans platform app and I've never done this 
before, I have a few questions.

I tried the Netbeans internationalization (NB11.1) wizard which looks very 
convenient, except that the wizard ignores the // NOI18N comment, so I have to 
manually uncheck all the strings which do not need translation. Is it normal ? 
What tool is using //NOI18N ?

Also regarding in-file declarations such as 
@Messages("CTL_ChangeQuantization=Quantization..."), I understand I need to 
manually add the key in each localized property bundle. I have the feeling that 
actually it's more convenient to not use @Messages(), and rather hard-code the 
strings then use the Wizard to convert them into properties. Am I right or do I 
miss something ?

Jerome

Reply via email to