Canadensys / narwhal-processor

Basic data processing library aiming to normalize similar values ​​in a known format.
MIT License
6 stars 7 forks source link

Add internationalization support #8

Closed cgendreau closed 11 years ago

cgendreau commented 11 years ago

This would be used to allow translation of error messages returned by the narwhal.

cgendreau commented 11 years ago

You can now call setLocale(Locale l) on all DataProcessor implementations to get the error into another language. The targeted language file must exist in resources/languages/ folder and as today, only English is available. Documentation will be updated when more languages will be available.