This package is calledflufl.i18n. It provides a high level, convenientAPI for managing internationalization translation contexts in Pythonapplication. There is a simple API for single-context applications, such ascommand line scripts which only need to translate into one language during theentire course of their execution. There is a more flexible, but stillconvenient API for multi-context applications, such as servers, which may needto switch language contexts for different tasks.
flufl.i18n requires Python 3.10 or newer.
Asimple guide to using the library is available, along with a detailedAPI reference.
Project home:https://gitlab.com/warsaw/flufl.i18n
Report bugs at:https://gitlab.com/warsaw/flufl.i18n/issues
Code hosting:https://gitlab.com/warsaw/flufl.i18n.git
Documentation:https://flufli18n.readthedocs.io/
You can install it withpip:
%pipinstallflufl.i18n
You can grab the latest development copy of the code using git. The masterrepository is hosted on GitLab. If you have git installed, you can grabyour own branch of the code like this:
$ git clone https://gitlab.com/warsaw/flufl.i18n.git
You may contact the author viabarry@python.org.
Copyright (C) 2004-2025 Barry A. Warsaw
Licensed under the Apache License, Version 2.0 (the “License”);you may not use this file except in compliance with the License.You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, softwaredistributed under the License is distributed on an “AS IS” BASIS,WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions andlimitations under the License.