From 698a1cdf82e8c2c8938f534a9043744447566a46 Mon Sep 17 00:00:00 2001 From: Gughanathan M Date: Thu, 15 Feb 2024 18:52:49 +0530 Subject: [PATCH] docs: updated Flask-Babel link and fix typo (#2166) * Update i18n.rst Update Flask-Babel link and fix typo * Update i18n.rst Added newline at end of the file --------- Co-authored-by: Daniel Vaz Gaspar --- docs/i18n.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/i18n.rst b/docs/i18n.rst index 12774bfa07..2f9f36b3cc 100644 --- a/docs/i18n.rst +++ b/docs/i18n.rst @@ -27,12 +27,12 @@ This means that all messages, builtin on the framework are translated to these l You can add your own translations for your application, using Flask-Babel. You can add your own translations, and your own language support. -Take a look at `Flask-Babel `_ for setup an babel initial configuration. +Take a look at `Flask-Babel `_ for setup an babel initial configuration. Initial Configuration --------------------- -On you projects root create a directory named babel, +On your projects root create a directory named babel, then create and edit a file named babel.cfg with the following content (this configuration is already made on the base skeleton application):: @@ -130,4 +130,3 @@ If you want to, or if you're using a version prior to 1.3.0 you can use:: } And that's it! -