-
-
Notifications
You must be signed in to change notification settings - Fork 512
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
Tuist generates TuistStrings+Module from wrong localization strings file #4627
Comments
Hey @bozongiggsa 👋 You can find the file used for generating these accessors here. That being said, shouldn't the keys be the same regardless of your current development language? That's the point of keys, they stay the same across the languages 🤔 |
I think they might be different in case you have some strings not localized in all locales, for example for experiments or features available only in some specific languages/regions |
Yes, but no. |
Hola 👋, We want to inform you that the issue has been marked as stale. This means that there hasn't been any activity or updates on it for quite some time, and it's possible that it may no longer be relevant or actionable. |
Hi @bozongiggsa @AllDmeat , if you'd like to contribute to the feature, feel free to start from the pointer that Marek lined above, and if you have any question feel free to ask 🙏 |
Hey there 👋 Is there any reason to have |
Hey 👋 Nice find! Can we rewrite the line, so it takes the region for |
Yes, I think default values in
|
Makes sense, would you be up to implement this change? 😇 |
On it 🫡 |
Describe the bug and the expected behavior
If project contains several languages with different regions, ex. en, en-GB, en-NG and "ru" is set as Development Language through Options in Project, then Tuist gets en-GB.lproj/Localizable.strings as a source for generation of TuistStrings+Module file. But I expect that ru.lproj/Localizable.strings would be used as a source for keys when Tuist are generating TuistStrings+Module
Reproduction steps
Steps to reproduce the bug:
Results: keys in TuistStrings+Module.swift are generated from en-GB.lproj/Localizable.strings file
Expected: keys are generated from de.lproj/Localizable.strings.
Error screenshots
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: