Skip to main content

An extension of fabricatio, which brings up the capability to generate locolization based on po file.

Project description

fabricatio-locale

MIT License Python Versions PyPI Version PyPI Downloads PyPI Downloads Bindings: PyO3 Build Tool: uv

An extension of fabricatio, which brings up the capability to generate localization based on PO file.


📦 Installation

This package is part of the fabricatio monorepo and can be installed as an optional dependency using either pip or uv:

pip install fabricatio[locale]
# or
uv pip install fabricatio[locale]

For a full installation that includes this package and all other components of fabricatio:

pip install fabricatio[full]
# or
uv pip install fabricatio[full]

🔍 Overview

Provides localization capabilities for fabricatio applications, enabling the translation and adaptation of text content for different languages and regions using PO file standards. It facilitates seamless internationalization workflows in AI-driven content creation and processing.

🧩 Key Features

  • PO File Processing: Parse and process standard gettext PO files for localization
  • Message Translation: Translate message texts while preserving identifiers and context
  • Batch Localization: Handle multiple messages simultaneously for efficient processing
  • Translation Integration: Leverages advanced translation capabilities for accurate localization
  • Format Preservation: Maintains message structure and metadata during translation
  • Internationalization Support: Enables global content adaptation for diverse audiences

🔗 Dependencies

Core dependencies:

  • fabricatio-core - Core interfaces and utilities
  • fabricatio-translate - Translation capabilities

No additional dependencies required.

📄 License

MIT – see LICENSE

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

fabricatio_locale-0.1.7-cp314-cp314-win_amd64.whl (440.9 kB view details)

Uploaded CPython 3.14Windows x86-64

fabricatio_locale-0.1.7-cp314-cp314-manylinux_2_34_x86_64.whl (554.7 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.34+ x86-64

fabricatio_locale-0.1.7-cp314-cp314-manylinux_2_34_aarch64.whl (518.5 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.34+ ARM64

fabricatio_locale-0.1.7-cp314-cp314-macosx_11_0_arm64.whl (505.5 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

fabricatio_locale-0.1.7-cp313-cp313-win_amd64.whl (440.9 kB view details)

Uploaded CPython 3.13Windows x86-64

fabricatio_locale-0.1.7-cp313-cp313-manylinux_2_34_x86_64.whl (555.1 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.34+ x86-64

fabricatio_locale-0.1.7-cp313-cp313-manylinux_2_34_aarch64.whl (518.3 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.34+ ARM64

fabricatio_locale-0.1.7-cp313-cp313-macosx_11_0_arm64.whl (506.1 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

fabricatio_locale-0.1.7-cp312-cp312-win_amd64.whl (441.0 kB view details)

Uploaded CPython 3.12Windows x86-64

fabricatio_locale-0.1.7-cp312-cp312-manylinux_2_34_x86_64.whl (554.8 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ x86-64

fabricatio_locale-0.1.7-cp312-cp312-manylinux_2_34_aarch64.whl (518.5 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ ARM64

fabricatio_locale-0.1.7-cp312-cp312-macosx_11_0_arm64.whl (505.6 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

File details

Details for the file fabricatio_locale-0.1.7-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: fabricatio_locale-0.1.7-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 440.9 kB
  • Tags: CPython 3.14, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.11 {"installer":{"name":"uv","version":"0.10.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for fabricatio_locale-0.1.7-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 a8249cad4dbc1243e4e9b07ddd4f59f4d8c1f13dbb47ae5e5a47ec7df9c9918d
MD5 6a98bc2cfbdf811e4cfdbb3bf702576d
BLAKE2b-256 2c7923336047f68af1683177525eaa081037226964bc0777ecf114746c896216

See more details on using hashes here.

File details

Details for the file fabricatio_locale-0.1.7-cp314-cp314-manylinux_2_34_x86_64.whl.

File metadata

  • Download URL: fabricatio_locale-0.1.7-cp314-cp314-manylinux_2_34_x86_64.whl
  • Upload date:
  • Size: 554.7 kB
  • Tags: CPython 3.14, manylinux: glibc 2.34+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.11 {"installer":{"name":"uv","version":"0.10.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for fabricatio_locale-0.1.7-cp314-cp314-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 ccd9c79cf9563095567fbf322994bc24db1f0de41f38c46f9bdaa7525dcc9d50
MD5 b198b181e917e56dd8373239ff4cb034
BLAKE2b-256 d7d0fb1248b870d3cddfe0cb91ea3b0cf8b9090afc12eb7ceaa0d7b24666b4c9

See more details on using hashes here.

File details

Details for the file fabricatio_locale-0.1.7-cp314-cp314-manylinux_2_34_aarch64.whl.

File metadata

  • Download URL: fabricatio_locale-0.1.7-cp314-cp314-manylinux_2_34_aarch64.whl
  • Upload date:
  • Size: 518.5 kB
  • Tags: CPython 3.14, manylinux: glibc 2.34+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.11 {"installer":{"name":"uv","version":"0.10.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for fabricatio_locale-0.1.7-cp314-cp314-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 a1bc144bdc04ee3896a176dbefadc963e18ed1bd902db656e1fadd1a67ab4796
MD5 e6dd7dd1ffee36b6b0b5052aa9eb716d
BLAKE2b-256 4ef7e9d930e607921fa15704f4e29df40a42de9c5e506e2f9942dc91deb964de

See more details on using hashes here.

File details

Details for the file fabricatio_locale-0.1.7-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

  • Download URL: fabricatio_locale-0.1.7-cp314-cp314-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 505.5 kB
  • Tags: CPython 3.14, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.11 {"installer":{"name":"uv","version":"0.10.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for fabricatio_locale-0.1.7-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b9e2ebf734cd6198a5f4de7c02afcfef38e6cdb615a777a96dfb7b5fe097acdc
MD5 20c38a140750df24f5307343e273f3f0
BLAKE2b-256 60f304236d6146ae3b31ff209ac55c057dbf3fa102fedf2702d9c96c78da55d6

See more details on using hashes here.

File details

Details for the file fabricatio_locale-0.1.7-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: fabricatio_locale-0.1.7-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 440.9 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.11 {"installer":{"name":"uv","version":"0.10.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for fabricatio_locale-0.1.7-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 8e8a1c44cf9135ea268427323b59046ef38f99b88fec90e46100a213a84c697f
MD5 8b63112ed597521625e22de8274dc0dd
BLAKE2b-256 52dbc3ecac37682ca984bffbd19b56db677955d137a277462abacf9b66e32e9e

See more details on using hashes here.

File details

Details for the file fabricatio_locale-0.1.7-cp313-cp313-manylinux_2_34_x86_64.whl.

File metadata

  • Download URL: fabricatio_locale-0.1.7-cp313-cp313-manylinux_2_34_x86_64.whl
  • Upload date:
  • Size: 555.1 kB
  • Tags: CPython 3.13, manylinux: glibc 2.34+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.11 {"installer":{"name":"uv","version":"0.10.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for fabricatio_locale-0.1.7-cp313-cp313-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 db190f57a0121d819775e66b810f871ad51459d8716e93f220a7ffd56b65da5c
MD5 a7b9145361694bc94647032a363a457e
BLAKE2b-256 4412bb5586120532595b34f8e917d8e1c6b7b20f6aeb89cd5b055382112f21b2

See more details on using hashes here.

File details

Details for the file fabricatio_locale-0.1.7-cp313-cp313-manylinux_2_34_aarch64.whl.

File metadata

  • Download URL: fabricatio_locale-0.1.7-cp313-cp313-manylinux_2_34_aarch64.whl
  • Upload date:
  • Size: 518.3 kB
  • Tags: CPython 3.13, manylinux: glibc 2.34+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.11 {"installer":{"name":"uv","version":"0.10.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for fabricatio_locale-0.1.7-cp313-cp313-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 13399b6d5b617a49741b570b91183faee9c8373469915358dda51a2261988252
MD5 c35b247e5c777d4bd12eb2f512deb0d1
BLAKE2b-256 5ff2ea4b095e2d601ac6706c6cf71d7cff1b66a0f6b7db17dbcc4b12237388fa

See more details on using hashes here.

File details

Details for the file fabricatio_locale-0.1.7-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

  • Download URL: fabricatio_locale-0.1.7-cp313-cp313-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 506.1 kB
  • Tags: CPython 3.13, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.11 {"installer":{"name":"uv","version":"0.10.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for fabricatio_locale-0.1.7-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8f602c8caeec7f62163681bba27186f18da7e5d4d75d04c05fbe974f3dc15a3f
MD5 024ac81aca943486012c51fd22030d60
BLAKE2b-256 0c44a61f3060419560aa8de6eb4d38bfd0e58866a517307d34bfbbf42846bb7f

See more details on using hashes here.

File details

Details for the file fabricatio_locale-0.1.7-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: fabricatio_locale-0.1.7-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 441.0 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.11 {"installer":{"name":"uv","version":"0.10.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for fabricatio_locale-0.1.7-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 d36c9b0f8a27e870ca6ebc4587941f88d23852354d8ffb202a9bc5e886fda83f
MD5 664683e23bfb837950f99661f3a57ccf
BLAKE2b-256 bf3eaded1e3b203911928976e1d2a9db73c03eb0d8d2ffd0d0339e9302aa805a

See more details on using hashes here.

File details

Details for the file fabricatio_locale-0.1.7-cp312-cp312-manylinux_2_34_x86_64.whl.

File metadata

  • Download URL: fabricatio_locale-0.1.7-cp312-cp312-manylinux_2_34_x86_64.whl
  • Upload date:
  • Size: 554.8 kB
  • Tags: CPython 3.12, manylinux: glibc 2.34+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.11 {"installer":{"name":"uv","version":"0.10.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for fabricatio_locale-0.1.7-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 08d345fd4f5c61a1dc41fcc641902c36e3ad649b3cc08b66104560c8102d7020
MD5 52cfd27e9d17139648fb108d4701afa4
BLAKE2b-256 3f5f35840121b3f3bbed82fcbdba43f1eb639442cf46968d9244a90a46d3ef72

See more details on using hashes here.

File details

Details for the file fabricatio_locale-0.1.7-cp312-cp312-manylinux_2_34_aarch64.whl.

File metadata

  • Download URL: fabricatio_locale-0.1.7-cp312-cp312-manylinux_2_34_aarch64.whl
  • Upload date:
  • Size: 518.5 kB
  • Tags: CPython 3.12, manylinux: glibc 2.34+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.11 {"installer":{"name":"uv","version":"0.10.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for fabricatio_locale-0.1.7-cp312-cp312-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 9ab03a0177a4e592abbaf0dd4d530e84504b588b4080c61184dd26f57861100c
MD5 5a354e83d7e4bd872b47c39b1636165d
BLAKE2b-256 2ee751cdf3d1c6e50c0ba415c3afd64e6e81769734a37258f52f49925a05d8b8

See more details on using hashes here.

File details

Details for the file fabricatio_locale-0.1.7-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

  • Download URL: fabricatio_locale-0.1.7-cp312-cp312-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 505.6 kB
  • Tags: CPython 3.12, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.11 {"installer":{"name":"uv","version":"0.10.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for fabricatio_locale-0.1.7-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5caa827fe034e384f7adfe91c0f15e031420a2f0ebbd043a0ca68dedfa9a8468
MD5 261517f38fc154051ee777ce17da3cd8
BLAKE2b-256 467c38148308453cbd409bf5284a1c6f093d34d2e88a8989d6a323c3ee607812

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page