spatie / laravel-translatable

Making Eloquent models translatable

Home Page:https://spatie.be/docs/laravel-translatable

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[question] It is possible to add more fields in translation? example tranlsation create at

sefirosweb opened this issue · comments

Hello guys awsome package,

I have one dooubt, it is possible to add more fields in the specific translation? example i'm interested to know the create_at / update_at / other fields for specific translation

Maybe the json only havae lenguage and translation directly right? they dont have a objet to add more fields, example:

{
  'en' : {
    'translation':'xxx'
    'field_1':'xx',
    'created_at':'xx'
  },
  'en' : {
    'translation':'yyy'
    'field_1':'yyy',
    'created_at':'yyy'
  }
}

Created discussion : #443