BSD Ports

devel/py-l18n 2021.3_1 DragonFly

Internationalization for pytz timezones and territories

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
devel, python
Package size
52.7 KiB, 245.1 KiB installed

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 ...

In the other systems

The newest version among them is 2021.3, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/py-l18n2021.3_1 newestnone known-[email protected]-
FreeBSDdevel/py-l18n2021.3_1 newestnone known-[email protected]-
NetBSDtime/py-l18n by name2021.3 newestnone known--2026-10-01
HardenedBSDdevel/py-l18n2021.3_1 newestno data-[email protected]-
GhostBSDdevel/py-l18n2021.3_1 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg install py311-l18n

From DPorts:

cd /usr/dports/devel/py-l18n && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 3

No port depends on this one.