Skip to content
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

Add error message translations #234

Open
Bisaloo opened this issue Sep 8, 2022 · 1 comment
Open

Add error message translations #234

Bisaloo opened this issue Sep 8, 2022 · 1 comment

Comments

@Bisaloo
Copy link

Bisaloo commented Sep 8, 2022

One big benefit of checkmate over checking your argument via base R is that the error message is automatically created & standardised.

I believe providing translation of error messages would be an extra argument to adopt this package as a dependency as it would make my package multilingual out-of-the-box (vs base R where I would have to translate each error message myself).

By translating once here, you potentially remove this need for many dependent package developers.

@Bisaloo
Copy link
Author

Bisaloo commented Feb 8, 2024

We still have strong interest in this because we use checkmate across packages that are targeted to users in English-, Spanish-, Portuguese-, and French-speaking countries, among others.

We would happily submit a PR with the required changes, a detailed explanation of the translation process (via the potools R package), and we would help to the maintenance of this feature at least for the next couple of years.

Would you be interested in such a PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant