Skip to content

Change French "Test Cases" translation from "Unités de test" to "Cas de test" #5510

Closed

Description

@cissehazizpro

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".

Best regards,
Haziz CISSE

Activity

  1. pekkaklarck commented on Nov 26, 2025

    @pekkaklarck
    Member

    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:

    1. 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.
    2. 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.
  2. orenault commented on Dec 8, 2025

    @orenault
    Contributor

    @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 ?

  3. pekkaklarck commented on Dec 9, 2025

    @pekkaklarck
    Member

    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.

  4. added this to the v7.5 milestone on Dec 9, 2025
  5. leeuwe commented on Dec 17, 2025

    @leeuwe
    Member

    We have already updated the French translation once in 7.3, but maybe we should look for a clearer way of deprecation for languages?

  6. pekkaklarck commented on Dec 18, 2025

    @pekkaklarck
    Member

    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.

  7. added theissue type on Jan 21, 2026
  8. 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
  9. pekkaklarck commented on May 6, 2026

    @pekkaklarck
    Member

    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!

  10. changed the issue type fromtoon May 7, 2026
  11. pekkaklarck commented on Jul 16, 2026

    @pekkaklarck
    Member

    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.

  12. self-assigned this
    on Jul 16, 2026
  13. added a commit that references this issue on Jul 16, 2026
    d70992f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions