Releases: mihkelallorg/laravel-translatable
Releases · mihkelallorg/laravel-translatable
Dynamic key file path
Google key file path can now be set through the config file.
Bugfix
Allow creating a translation with an empty string.
Bugfixes
Fixed a bug which affected retrieving translations.
getTranslated + getDefaultLanguage
Changed the getTranslated method so that it checks for model's default language and lost the default value parameter.
Add getTranslated method
Added getTranslated
method to the Translatable trait.
Optimize, simplify, refactor
- Removed the constraint of the translation being "fresh" in method
translation
- Translations will now be updated instead of just creating a new one for every translation
- Added new method
getTranslationsAsArray
First release!
Creating translations manually + translate and detectLanguage methods from external translation services.