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
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.
The text was updated successfully, but these errors were encountered:
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 thereport_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.
The text was updated successfully, but these errors were encountered: