This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

planetadeleste
planetadeleste

Is possible to have a translation like 'global' => ['title_create' => 'Create :name', 'title_update' => 'Update :name'] and them using params to have double translation? Something like this two examples:

trans('author.plugin::lang.global.title_create', ['name' => trans_choice('author.plugin::lang.properties.title', 2)]);
trans('author.plugin::lang.global.title_create', ['name' => trans('author.plugin::lang.properties.title')]);

Thanks and sorry my english

1-1 of 1

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.