MessageResource works like the java.util.ResourceBundle if no properties file for italian exits (applicationResources_it.properties for example), it takes the default one (applicationResources.properties)
no exception, just a default case... otherwise, if no default file exists ... you will have a null for the message or a ??unknown?? (if null=false in the struts-config file) grazie mille ... Guillaume Compagnon > -----Message d'origine----- > De: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED] > Date: vendredi 21 mars 2003 11:08 > �: [EMAIL PROTECTED] > Objet: internationalization > > Hi i've a simple question: is possible obtain the languages supported from > application? With the MessageResources class i could obtain the message in > a > particular language, if it is supported from application. For example if > i've > the properties file for the french languages i could obtain a message in > this > language...but how i know the language supported of my application ( in > fact the > file properties that there are in my application ). Is stupid try to > obtain the > message in all language for example try to obtain the message in french > and if > exists i know that there is a file properties for french...how obtain the > list > of file properties of application? > Thank in advantage. > Alessio > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] ---------------------------------------------------- Ce message et toutes les pieces jointes (ci-apres le "message") sont confidentiels et etablis a l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisee est interdite.Tout message electronique est susceptible d'alteration. Le CREDIT DU NORD et ses filiales declinent toute responsabilite au titre de ce message s'il a ete altere, deforme ou falsifie. This message and any attachments ( the "message") are confidential and intended solely for the addressees. Any unauthorised use or dissemination is prohibited.E-mails are susceptible to alteration. Neither CREDIT DU NORD nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified. ---------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

