Hi Francesco.
Thanks for using openscales
Here is how to add a new locale:
First, declare your JSON (as you may have done):
import geoportal.i18n.provider.I18nJSONProvider;
[Embed(source="IT.json", mimeType="application/octet-stream")]
private const ITLocale:Class;
public function onCreationComplete():void
{
I18nJSONProvider.addTranslation(ITLocale);
myMap.locale = Locale.getLocaleByKey("IT").localeKey;
}
Here, creationComplete is a callback on your application's creationCompleteEvent and IT.json is your italian translation file. myMap is your application map.
Regards