-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Messages in ICU format not dumped #312
Comments
I fixed this by adding another empty |
I am running into the same issue, is there any way to solve this? |
Hi, any update regarding this issue? |
Upgrading from v3 to v4 broke this as well, on our project. It seems like the following commit introduced the breaking change: 43a51cf (Especially changes in file Because it's now the "cleaned" domain that is looked up in "$activeDomains", my configuration entry "mass_updates+intl-icu" (in So I thought maybe the right approach now is to add the "cleaned up" entry in the if ($domain !== $cleanedDomain && !in_array($cleanedDomain, $domains, true)) {
// e.g.: skip "messages+intl-icu" if "messages" exists. They will get merged after.
continue;
}
EDIT: Turns out if ($domain !== $cleanedDomain && !isset($domains[$cleanedDomain])) { But I do not really understand why "uncleaned" domains get ignored in the first place, to be honest. So there's more to it. |
It does work but in my case I had to:
|
It appears this is still a problem in 6.0 |
I have a "messages+intl-icu.en.yaml" file in default translation folder.
When running the dump command, the messages domain is not dumped at all. When I remove the "+intl-icu" extension from the file-name, the domain ist dumped, but is obviously not working due to the ICU format used inside the file.
Probably caused by a continue in TranslationDumper:
// e.g.: skip "messages+intl-icu" if "messages" exists. They will get merged after.
As there is nothing done afterwards, the skipped domains won´t get dumped. Seems like dumping ICU translations are only working when there are already other translations in the same non-ICU domain.
validators domain ist dumped correctly when using ICU format, as there are already translations in some bundle for that domain.
The text was updated successfully, but these errors were encountered: