You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Change French "Test Cases" translation from "Unités de test" to "Cas de test" #5510
Hi,
I would like to know if you can change the french translation of Test Cases section header from "Unités de test" to "Cas de test".
Actually french people are use to call a test case "Cas de test". Nobody speak about "Unités de test".
The change is easy, and we have PR #5540 implementing it, but a problem is that existing tests using "Unités de test" would be broken. We have been talking about possibility to deprecate translations so that new ones could be added without immediately removing old ones, but no such functionality exists yet. Our options are:
Just make the change anyway. This is fine if the new term is a lot more commonly used than the old one. As a Finn who doesn't speak French I cannot comment on that. Have you @cissehazizpro asked about this on other forums? I'd like to get some kind of a confirmation about this especially if we were to make the change in a non-major released like RF 7.4.
Implement the translation deprecation functionality first. There's no time for that in RF 7.5, but we could do it in RF 7.5.
Headers and settings only support one value. True/False strings and BDD prefixes support multiple. I don't think it makes sense to change that, but we should make it possible to deprecate translations. Let's do that in RF 7.5 and change this then.
BDD prefixes are specified as a set and I think we preserved all existing ones. This issue is about updating the test case section header, which breaks all existing French tests unless there's some deprecation mechanism. Even though the new translation would be much better, I believe we need the deprecation system before we can make this change.
Luckily creating a deprecation system shouldn't be too hard. It will basically be a dictionary mapping deprecated terms to new ones. It probably also should contain the version where the new value was introduced so that we can emit deprecation warnings automatically depending on the version.
changed the title [-]Test case section french translation[/-][+]Change French "Test Cases" translation from "Unités de test" to "Cas de test"[/+]on May 6, 2026
I submitted #5668 about the translation deprecation system. There are some open design decisions, so go see the issue and leave your comments if you have opinions!
The mechanism how to deprecate terms in language files was defined as part of #5668. Actually emitting deprecation warnings turned out to be complicated, and that part is not done now. There's an issue about reporting warnings during parsing (#5210) that needs to be implemented to get that done. It's somewhat complicated, so I just moved that issue to RF 7.6. That doesn't matter now, because the plan was to start emitting deprecation warnings earliest in RF 7.6 anyway.
Activity
pekkaklarck commentedon Nov 26, 2025
The change is easy, and we have PR #5540 implementing it, but a problem is that existing tests using "Unités de test" would be broken. We have been talking about possibility to deprecate translations so that new ones could be added without immediately removing old ones, but no such functionality exists yet. Our options are:
orenault commentedon Dec 8, 2025
@pekkaklarck Hi Pekka, I confirm the translation proposed by @cissehazizpro is more accurate. And it is the one used in the ISTQB syllabus in the French version: https://glossary.istqb.org/fr_FR/term/cas-de-test. No possible to implement "many" translations for a section ? In the 'Given, When, Then' translation in French, Robot Framework supports many french translations for each term. Or only one term is authorized for each section ?
pekkaklarck commentedon Dec 9, 2025
Headers and settings only support one value. True/False strings and BDD prefixes support multiple. I don't think it makes sense to change that, but we should make it possible to deprecate translations. Let's do that in RF 7.5 and change this then.
leeuwe commentedon Dec 17, 2025
We have already updated the French translation once in 7.3, but maybe we should look for a clearer way of deprecation for languages?
pekkaklarck commentedon Dec 18, 2025
BDD prefixes are specified as a set and I think we preserved all existing ones. This issue is about updating the test case section header, which breaks all existing French tests unless there's some deprecation mechanism. Even though the new translation would be much better, I believe we need the deprecation system before we can make this change.
Luckily creating a deprecation system shouldn't be too hard. It will basically be a dictionary mapping deprecated terms to new ones. It probably also should contain the version where the new value was introduced so that we can emit deprecation warnings automatically depending on the version.
[-]Test case section french translation[/-][+]Change French "Test Cases" translation from "Unités de test" to "Cas de test"[/+]pekkaklarck commentedon May 6, 2026
I submitted #5668 about the translation deprecation system. There are some open design decisions, so go see the issue and leave your comments if you have opinions!
pekkaklarck commentedon Jul 16, 2026
The mechanism how to deprecate terms in language files was defined as part of #5668. Actually emitting deprecation warnings turned out to be complicated, and that part is not done now. There's an issue about reporting warnings during parsing (#5210) that needs to be implemented to get that done. It's somewhat complicated, so I just moved that issue to RF 7.6. That doesn't matter now, because the plan was to start emitting deprecation warnings earliest in RF 7.6 anyway.
Change "Unités de test" to "Cas de test" in French translation