Project splitting problems #37
Replies: 0 comments 34 replies
-
For me, in source directory ( the English version ) we have a json by package, but in locale directory, we have just one json file by language ( with all distinct tags from English version ). Then, the cut is done by installer, not by this project Pros:
Cons:
|
Beta Was this translation helpful? Give feedback.
-
For me there is no problem, go ahead and I will be attentive to review! |
Beta Was this translation helpful? Give feedback.
-
It's mean, the locale directory we restore likes 9.x:
Like this? |
Beta Was this translation helpful? Give feedback.
-
@luisprmat, @caouecs, @sotten, guys. Need help. To release a fix faster while I'm writing code, can you compile a list of translations from Laravel versions 6, 7, and 8? We will combine all the values from these versions and add them to our project. We need an json array with values like as: [
"Foo",
"Bar"
] |
Beta Was this translation helpful? Give feedback.
-
Hi team, sorry for not being involved i am working on two projects for my employee with a deadline, so i will try to focus in helping more once i deploy these two projects to production. |
Beta Was this translation helpful? Give feedback.
-
In version 10, we split the
<locale>.json
file into Laravel projects.This is done because:
What problems did we face:
When splitting the file, the script removed the keys from the
<locale>.json
files that they "took" for themselves. Due to this, we were faced with the fact that the source file does not contain the required set of keys for the Laravel project itself (Laravel-Lang/lang#1761).BUT file separation also carries part of the problem: now we can have the same translation key in several files.
At the moment I have restored the key translation as of version 9.1.2.
But how are we going to support the project further?
@Laravel-Lang/laravel-lang, any ideas?
Beta Was this translation helpful? Give feedback.
All reactions