cguardia/questions

Change language of the forms

yassinebha opened this issue · 2 comments

  • Questions version: Latest version
  • Python version: 3.9
  • Operating System: conda in windows 10

Hi Carlos, I love the tool you developed. I'm wondering how can I change the language of the forms let say from English to French?

Thanks a lot

Sure, you can set the locale when instantiating the form, like this:

form = YourFormSubclass(title="Formulaire en français", locale="fr")

Added this to the docs, so closing.