- Bug Fixes
- Fix bug causing interpolations at beginning of string to be missed
-
Enhancements
- Add
locale
macro for locale definitions - Support String filepath locale source for automated evaluation
- Suppport arbitrary locale source to fetch keyword list of translations, ie function call, Code.eval_file, etc.
- Add
t!
lookups whereNoTranslationError
is raised if translation not found
- Add
-
Backwards incompatible changes
- Rename
Linguist.Compiler
toLinguist.Vocabulary
- Locale definitions now required to use
locale/2
macro instead ofuse
options - Update
t
lookups to return{:ok, translation}
or{:error, :no_translation}
- Rename
Initial release