pg_xenophile
More than the bare necessities for PostgreSQL i18n and l10n.
pg_xenophile : More than the bare necessities for PostgreSQL i18n and l10n.
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 3670 | pg_xenophile | pg_xenophile | 0.8.3 |
TYPE | PostgreSQL | SQL |
| Attribute | Has Binary | Has Library | Need Load | Has DDL | Relocatable | Trusted |
|---|---|---|---|---|---|---|
| ----d-- | No | No | No | Yes | no | no |
| Relationships | |
|---|---|
| Schemas | xeno |
| Requires | hstore |
| Need By | l10n_table_dependent_extension |
| See Also | icu_ext pg_cjk_parser gb18030_2022 unaccent pgroonga pg_tokenizer country currency isn dict_xsyn |
| Siblings | l10n_table_dependent_extension |
Packages
| Type | Repo | Version | PG Major Compatibility | Package Pattern | Dependencies |
|---|---|---|---|---|---|
| EXT | PIGSTY | 0.8.3 |
18 17 16 15 14 | pg_xenophile |
hstore |
| RPM | PIGSTY | 0.8.3 |
18 17 16 15 14 | pg_xenophile_$v |
- |
| DEB | PIGSTY | 0.8.3 |
18 17 16 15 14 | postgresql-$v-pg-xenophile |
- |
| Linux / PG | PG18 | PG17 | PG16 | PG15 | PG14 |
|---|---|---|---|---|---|
| el8.x86_64 | PIGSTY 0.8.3 | PIGSTY 0.8.3 | PIGSTY 0.8.3 | PIGSTY 0.8.3 | PIGSTY 0.8.3 |
| el8.aarch64 | PIGSTY 0.8.3 | PIGSTY 0.8.3 | PIGSTY 0.8.3 | PIGSTY 0.8.3 | PIGSTY 0.8.3 |
| el9.x86_64 | PIGSTY 0.8.3 | PIGSTY 0.8.3 | PIGSTY 0.8.3 | PIGSTY 0.8.3 | PIGSTY 0.8.3 |
| el9.aarch64 | PIGSTY 0.8.3 | PIGSTY 0.8.3 | PIGSTY 0.8.3 | PIGSTY 0.8.3 | PIGSTY 0.8.3 |
| el10.x86_64 | PIGSTY 0.8.3 | PIGSTY 0.8.3 | PIGSTY 0.8.3 | PIGSTY 0.8.3 | PIGSTY 0.8.3 |
| el10.aarch64 | PIGSTY 0.8.3 | PIGSTY 0.8.3 | PIGSTY 0.8.3 | PIGSTY 0.8.3 | PIGSTY 0.8.3 |
| d12.x86_64 | PIGSTY 0.8.3 | PIGSTY 0.8.3 | PIGSTY 0.8.3 | PIGSTY 0.8.3 | PIGSTY 0.8.3 |
| d12.aarch64 | PIGSTY 0.8.3 | PIGSTY 0.8.3 | PIGSTY 0.8.3 | PIGSTY 0.8.3 | PIGSTY 0.8.3 |
| d13.x86_64 | PIGSTY 0.8.3 | PIGSTY 0.8.3 | PIGSTY 0.8.3 | PIGSTY 0.8.3 | PIGSTY 0.8.3 |
| d13.aarch64 | PIGSTY 0.8.3 | PIGSTY 0.8.3 | PIGSTY 0.8.3 | PIGSTY 0.8.3 | PIGSTY 0.8.3 |
| u22.x86_64 | PIGSTY 0.8.3 | PIGSTY 0.8.3 | PIGSTY 0.8.3 | PIGSTY 0.8.3 | PIGSTY 0.8.3 |
| u22.aarch64 | PIGSTY 0.8.3 | PIGSTY 0.8.3 | PIGSTY 0.8.3 | PIGSTY 0.8.3 | PIGSTY 0.8.3 |
| u24.x86_64 | PIGSTY 0.8.3 | PIGSTY 0.8.3 | PIGSTY 0.8.3 | PIGSTY 0.8.3 | PIGSTY 0.8.3 |
| u24.aarch64 | PIGSTY 0.8.3 | PIGSTY 0.8.3 | PIGSTY 0.8.3 | PIGSTY 0.8.3 | PIGSTY 0.8.3 |
| u26.x86_64 | PIGSTY 0.8.3 | PIGSTY 0.8.3 | PIGSTY 0.8.3 | PIGSTY 0.8.3 | PIGSTY 0.8.3 |
| u26.aarch64 | PIGSTY 0.8.3 | PIGSTY 0.8.3 | PIGSTY 0.8.3 | PIGSTY 0.8.3 | PIGSTY 0.8.3 |
Source
github.com/bigsmoke/pg_xenophile
pg_xenophile-0.8.3.tar.gz
Install
Make sure PGDG and PIGSTY repo available:
Install this extension with pig:
Create this extension with:
Usage
pg_xenophile: internationalization (i18n) and localization (l10n) utilities
The pg_xenophile extension provides i18n/l10n infrastructure including reference data for countries, languages, and currencies, plus automated localization table management.
All objects reside in the xeno schema (non-relocatable).
Reference Tables
xeno.country: ISO 3166-1 codes with calling codes and currenciesxeno.lang: ISO 639-1 language codesxeno.currency: ISO 4217 currency codes with symbolsxeno.country_subdivision: ISO 3166-2 subdivision codesxeno.eu_country: EU membership trackingxeno.country_postal_code_pattern: Postal code validation patterns
Localization Tables
The extension auto-manages translation tables. Insert into xeno.l10n_table to register a translatable base table:
This automatically creates a companion products_l10n table and language-specific views.
Convenience Views
xeno.country_l10n_en: Country names in Englishxeno.lang_l10n_en: Language names in Englishxeno.country_subdivision_l10n_en: Subdivision names in English