Flow: When creating an application I want to have a defined way/place of creating language files.

Created on 26 Oct 2017  路  2Comments  路  Source: vaadin/flow

There should be a Service Provider Interface which has a default implementation for loading the data from files, e.g. reading from default.properties, default_en_EN.properties, default_fr_FR from properties to src/main/resources/lang. The file name should have as a postfix the ISO locale code.

This can be then used by any application developer to specify another adapter for reading the locale data based on the locale and keys, such as database tables.

I18N demo tutorial

Most helpful comment

Sorry to say I'm not putting the Klingon in as it's to a big part english and I couldn't get the font to work.
I replaced it with Japanese which is almost the same.

All 2 comments

Decided that this is just about making a demo and tutorial on how to create an app that supports multiple locales like English and Klingon.

Sorry to say I'm not putting the Klingon in as it's to a big part english and I couldn't get the font to work.
I replaced it with Japanese which is almost the same.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pleku picture pleku  路  4Comments

pleku picture pleku  路  4Comments

manolo picture manolo  路  3Comments

joheriks picture joheriks  路  4Comments

appreciated picture appreciated  路  3Comments