-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Translatable spec should pass even if some languages are disabled #3526
Comments
Ping @Senen as you have probably thought of this already. What do you think is best? |
OK, I solved the problem by adding these lines in
This is the second option I mentioned. @decabeza, does that seem OK to you? If so, I can submit a pull request with the code above or maybe with all the locales available:
|
Hi @PierreMesure, your final solution looks good to me! 👌 And the build passes! 😌 Let's see what the @consul/core says. |
Description
When disabling some of the languages used for the translatable specs, for example Spanish, English, French or Portuguese, the corresponding tests fail. This should not happen.
I don't know which solution would be best:
config/application.rb
and uses whichever languages it wants. With the risk that tests passing with the default languages fail with the ones actually used in productionType: Bug
Related issues: #3130
Related PRs: #3359 #3455
Steps to reproduce
pt-BR
from the list of available languagesDefinition of Done
Specs should pass with any combination of available languages, even just one.
The text was updated successfully, but these errors were encountered: