Port details on branch 2024Q3 |
- py-l18n Internationalization for pytz timezones and territories
- 2021.3_1 devel =2 2021.3_1Version of this port present on the latest quarterly branch.
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2020-04-26 11:55:58
- Last Update: 2024-04-08 20:17:07
- Commit Hash: dfcc88b
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- Also Listed In: python
- License: MIT
- WWW:
- https://github.com/tkhyn/l18n
- Description:
- As you may have noticed, l18n is a contraction of i18n and l10n, namely
'internationalisation' and 'localization'. It basically provides lazy
translations for names used for localization purposes (e.g. places and
timezones).
I started writing l18n when I was looking for translations for the pytz library.
Indeed, on a multi-lingual site where users can select the timezone they are in,
it's much better if they can select in their language, as in some cases, the
differences with the english name can be significant, hence the place to look
for it when it's sorted in alphabetical order.
And as I am lazy, I thought of a way to - almost - automatically fetch the
translations from the CLDR (Unicode's Common Locale Data Repository) database.
Integrating function to link timezone to country codes, there was no reason not
to try and provide translations also for the latter. In the near future, I - or
contributors - may also add currencies or measurement units fetched from the
CLDR database ...
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}l18n>0:devel/py-l18n@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/devel/py-l18n/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/py-l18n
- pkg install py39-l18n
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py39-l18n listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-l18n
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1643971064
SHA256 (l18n-2021.3.tar.gz) = 1956e890d673d17135cc20913253c154f6bc1c00266c22b7d503cc1a5a42d848
SIZE (l18n-2021.3.tar.gz) = 50712
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-setuptools>=0 : devel/py-setuptools@py39
- py39-wheel>=0 : devel/py-wheel@py39
- python3.9 : lang/python39
- py39-build>=0 : devel/py-build@py39
- py39-installer>=0 : devel/py-installer@py39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-pytz>=2020.1,1 : devel/py-pytz@py39
- py39-six>=0 : devel/py-six@py39
- python3.9 : lang/python39
- This port is required by:
- for Run
-
- www/py-wagtail
Configuration Options:
- No options to configure
- Options name:
- devel_py-l18n
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|