miguelgrinberg / microblog

The microblogging application developed in my Flask Mega-Tutorial series. This version maps to the 2024 Edition of the tutorial.
http://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-i-hello-world
MIT License
4.48k stars 1.61k forks source link

How to translate this part of page? #248

Closed n0r8as closed 3 years ago

n0r8as commented 3 years ago

https://github.com/miguelgrinberg/microblog/blob/22fe46f615bd398a8cc69d64e20e8f0ef66e7d01/app/templates/base.html#L42

miguelgrinberg commented 3 years ago

Apply the _('text') in the code where all the messages are generated, so that the message reaches the template after it was translated. This is done in this tutorial.

n0r8as commented 3 years ago

Ok, Thank You

sob., 11 lip 2020 o 18:51 Miguel Grinberg notifications@github.com napisał(a):

Apply the _('text') in the code where all the messages are generated, so that the message reaches the template after it was translated. This is done in this tutorial.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/miguelgrinberg/microblog/issues/248#issuecomment-657142426, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANEB4GDOVENVBJ6YY5T5YA3R3DUGTANCNFSM4OXQD5VA .