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

ENH: Add support for reports in Spanish #6

Open
fletchapin opened this issue Jan 28, 2021 · 1 comment
Open

ENH: Add support for reports in Spanish #6

fletchapin opened this issue Jan 28, 2021 · 1 comment
Assignees
Labels
Enhancement New feature or request

Comments

@fletchapin
Copy link
Member

Use Case

Since the Design Specifications can be written in Spanish or English and the validation report will be available through the same website form, it would be great to extend the validation tool with Spanish report writing capabilities.

Solution

Add a language attribute of the report_writer class which defaults to English but can also be Spanish. Maybe make it an enum so we can detect invalid languages?

Then, whenever a line is written to the report have the ability to translate it. It would be great if these translations could happen similar to how the message strings work for Sphinx so that we could easily maintain them.

Alternatives

Hard code the translations since the number of different messages isn't that large at the moment.

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

No branches or pull requests

3 participants