Open hyzx86 opened 1 month ago
Seems you started a PR for this, if you are interested it's in your plate otherwise I will create another one
Seems you started a PR for this, if you are interested it's in your plate otherwise I will create another one
I am not familiar with this aspect.
Shouldn't these locations rather work, @hishamco?
They should, but we need to ensure the case that Tony reported still worked as expected, @hyzx86 I suggest creating a minimal repo, and then we can check.
They should, but we need to ensure the case that Tony reported still worked as expected, @hyzx86 I suggest creating a minimal repo, and then we can check
I think that test item should be included in the repository, along with automated tests to ensure the stability of the functionality
What I'm asking for is a repo to ensure that there's a bug, but not miss configuration by you :)
The code that loads these files is in ModularPoFileLocationProvider
. A breakpoint should help understand why the file is not loaded.
We triaged this issue and set the milestone according to the priority we think is appropriate (see the docs on how we triage and prioritize issues).
This indicates when the core team may start working on it. However, if you'd like to contribute, we'd warmly welcome you to do that anytime. See our guide on contributions here.
the problem could be the ZH-CN language is not present in DefaultPluralRuleProvider. question, why are the languages hard coded?? By the way (the iso 639-1 defines languages codes)[https://www.andiamo.co.uk/resources/iso-language-codes/]
@hyzx86 please is this still happening with you
the problem could be the ZH-CN language is not present in DefaultPluralRuleProvider. question, why are the languages hard coded??
Like Hisham mentioned code, because there's also a concept of hierarchy here
@hishamco It may be necessary to add some unit tests to ensure that zh-CN
is recognised as zh
.
Describe the bug
To Reproduce
Hi all, I've found that this rule mentioned in this document https://docs.orchardcore.net/en/latest/reference/modules/Localize/ doesn't seem to work![image](https://github.com/OrchardCMS/OrchardCore/assets/15613121/f3a896e4-d2e7-4bbd-b09b-8ecb5326e259)
/Localization/[CultureName]/[ModuleId].po
This is a module based on OC 1.8.3But when I use
Localisation/zh-CN.po
it works fineSince this template
Localisation/[CultureName].po
will overwrite the translation files of the other modules when compiled and packaged. I would prefer that the template/Localisation/[CultureName]/[ModuleId].po
works. When I run it on 1.8x it doesn't work as expected.