0

I'm developint a Flask-WebApp and I'd like to internationalize it. I'm following the Flask-Babel API but then I faced a problem, the translation with PoEdit.

Do I need to translate every entry I flag as to-translate manually? What if I want to translate content from the database? Such as comments or new posts? How do I maintain it?

Best Regards

Perseverance
  • 337
  • 5
  • 18

1 Answers1

0

Translating database content with poedit is not the way to go about this as database content is dynamic and babel translations are static. The right approach would be creating a translation table (1:n relation object), and fetching transations.
Here is an SO question that might help, another one

Community
  • 1
  • 1
Tony Vincent
  • 13,354
  • 7
  • 49
  • 68