Skip to content
This repository has been archived by the owner on Jun 18, 2019. It is now read-only.

Releases: dimsav/laravel-translatable

v4.4

16 Dec 20:40
Compare
Choose a tag to compare
  • Drops support for laravel 4.0.
  • Compatible with laravel 4.1 and laravel 4.2.
  • External config file.
  • Fallback issue fixed.
  • Added translated and translatedIn scopes.
  • Changed behavior: getting non existing translations with getTranslation() used to return objects, now null is returned.
  • Translated attributes now shown when converting toArray() or toJson().
  • Fixed bug: fill() created empty translations even when translated attributes were not fillable.
  • Added option to make translated attributes always fillable.

v4.3.2

05 Nov 17:07
Compare
Choose a tag to compare

Minor cleaning

v4.3.1

04 Sep 19:08
Compare
Choose a tag to compare

Translated classes answer "true" when asked if their translated attributes are set.

v4.3

21 Aug 08:54
Compare
Choose a tag to compare
  • The Translation class suffix default can be overridden in the app config. See 7ecc0a7
  • The app.fallback_locale setting can be overridden in each model separately. See #33
  • Fallback translation is not returned if it is not defined.

v4.2.1

20 Jun 14:34
Compare
Choose a tag to compare

Fixed issue #26: A new record is not saved if it is not dirty.

v4.2

20 Jun 11:14
Compare
Choose a tag to compare

Fallback locale is now taken from app.fallback_locale config key.

v.4.1.1

20 Jun 10:35
Compare
Choose a tag to compare

Fixed: translations not saved when object not dirty. (laravel core was updated)

v4.1

10 Jun 11:02
Compare
Choose a tag to compare
  • Added fallback to default locale if translations is missing.
  • Added travis environment for laravel 4.2.

v4.0.1

02 Jun 06:42
Compare
Choose a tag to compare

Updated dependencies in composer.json.

v4.0.0

22 May 13:16
Compare
Choose a tag to compare
  • Removed syntax $model->en->name because conflicts may happen if the model has a property named en. See #18.
  • Added method hasTranslation($locale). See #19.