BSD Ports

devel/py-l18n 2021.3_1 FreeBSD

Internationalization for pytz timezones and territories

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
MIT
Categories
devel, python
Package size
61.8 KiB, 238.0 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

SystemPortVersion
FreeBSDdevel/py-l18n2021.3_1
DragonFlydevel/py-l18n2021.3_1
HardenedBSDdevel/py-l18n2021.3_1
GhostBSDdevel/py-l18n2021.3_1

Install

Binary package:

pkg install py312-l18n

From the ports tree:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-l18n>0:devel/py-l18n

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2021.3_12021.3_12021.32021.3_12021.3_1
FreeBSD:14:quarterly2021.3_12021.3_1n/a2021.3_12021.3_1
FreeBSD:15:latest2021.3_12021.3_1n/a2021.3_12021.3_1
FreeBSD:15:quarterly2021.3_12021.3_1n/an/an/a
FreeBSD:16:latest2021.3_12021.3_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

Runtime 2

The full lists below include those, and their dependencies in turn.

Build dependencies 16
Run dependencies 9

No port depends on this one.

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
l18n-2021.3.tar.gz507121956e890d673d17135cc20913253c154f6bc1c00266c22b7d503cc1a5a42d848
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.