Skip to content

Commit

Permalink
docs: updated Flask-Babel link and fix typo (#2166)
Browse files Browse the repository at this point in the history
* 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 <danielvazgaspar@gmail.com>
  • Loading branch information
gugupy and dpgaspar authored Feb 15, 2024
1 parent 06e4f81 commit 698a1cd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/i18n.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <http://pythonhosted.org/Flask-Babel>`_ for setup an babel initial configuration.
Take a look at `Flask-Babel <https://python-babel.github.io/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)::

Expand Down Expand Up @@ -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!

0 comments on commit 698a1cd

Please sign in to comment.