The language specific sets of attributes are missing items #26
-
Description:The list of attributes in A few examples (not complete): I would at least expect all attributes in Note: also Publisher generates different sets of attributes per language. |
Beta Was this translation helpful? Give feedback.
Replies: 0 comments 6 replies
-
By default, Laravel does not have a set of attribute names for translation and we have placed them in At the moment, one of the problems is that the keys are not identical in these files. Since this list is unofficial and can be large, I suggest moving all keys from the @Laravel-Lang/laravel-lang, what do you think? |
Beta Was this translation helpful? Give feedback.
-
I'm not fully aware of how all the internals of this project work, but from what I've seen there seems to be a system where new lines to the en.json are automatically added to all the {lang}.json files. Can't we use this mechanism for attributes (and perhaps the other files) as well? Or is that already in place? The advantage of this would be that all locale files work with the same system and that the community can add missing keys/attributes and translations. The challenge here will be maintaining the master set: who is going to decide which keys are added and which not. |
Beta Was this translation helpful? Give feedback.
-
I thought it over carefully and brought these keys to an external project - Soon we will publish it in packagist and it will be available for installation via composer. |
Beta Was this translation helpful? Give feedback.
I thought it over carefully and brought these keys to an external project -
laravel-lang/attributes
. A big plus of the new project is that it has no restrictions on the number of added keys 😎Soon we will publish it in packagist and it will be available for installation via composer.