Closed lauraluiz closed 7 years ago
@lauraluiz i like what has been done in general, there is major quality amelioration that can be done and that i think is worth the effort, which is to work with generated classes like the android R.java
which would allow us to get hold of all the messages in type safe way.
WDYT?
Having type-safe messages sounds really interesting @acbeni ! I hadn't thought of that solution. Could you please create an issue for that? I would address that after v1.0.0 though.
And actually all theme resources might benefit from it.
@lauraluiz i created issue to follow up #685
All error messages can be localized now. The ones defined in Sunrise are located in the bundle "messages" (as shows the
messages.yaml
files). The ones pre-defined by Play (i.e. https://github.com/playframework/playframework/blob/2.5.18/framework/src/play/src/main/resources/messages.default) are located in the default bundle ("main" if not changed). They can also be localized using the default Play way of creating messages files for each language.