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.5-cp314-cp314-win_amd64.whl (346.0 kB view details)

Uploaded CPython 3.14Windows x86-64

fabricatio_locale-0.1.5-cp314-cp314-manylinux_2_34_x86_64.whl (461.5 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.34+ x86-64

fabricatio_locale-0.1.5-cp314-cp314-manylinux_2_34_aarch64.whl (421.5 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.34+ ARM64

fabricatio_locale-0.1.5-cp314-cp314-macosx_11_0_arm64.whl (408.2 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

fabricatio_locale-0.1.5-cp313-cp313-win_amd64.whl (346.1 kB view details)

Uploaded CPython 3.13Windows x86-64

fabricatio_locale-0.1.5-cp313-cp313-manylinux_2_34_x86_64.whl (461.5 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.34+ x86-64

fabricatio_locale-0.1.5-cp313-cp313-manylinux_2_34_aarch64.whl (421.1 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.34+ ARM64

fabricatio_locale-0.1.5-cp313-cp313-macosx_11_0_arm64.whl (408.2 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

fabricatio_locale-0.1.5-cp312-cp312-win_amd64.whl (345.4 kB view details)

Uploaded CPython 3.12Windows x86-64

fabricatio_locale-0.1.5-cp312-cp312-manylinux_2_34_x86_64.whl (462.0 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ x86-64

fabricatio_locale-0.1.5-cp312-cp312-manylinux_2_34_aarch64.whl (421.6 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ ARM64

fabricatio_locale-0.1.5-cp312-cp312-macosx_11_0_arm64.whl (408.6 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

File details

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

File metadata

  • Download URL: fabricatio_locale-0.1.5-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 346.0 kB
  • Tags: CPython 3.14, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","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.5-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 75e91fa4e9c615cc8ed0e77fc4286ce7e19c710297eb20b6d5643dd7a984db5b
MD5 76cfa03ac107ffc3fd6a5dfbc1d1b7a8
BLAKE2b-256 0123400138fddc690747c4448e8000886d29293856b96204ff7078c7193cf737

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fabricatio_locale-0.1.5-cp314-cp314-manylinux_2_34_x86_64.whl
  • Upload date:
  • Size: 461.5 kB
  • Tags: CPython 3.14, manylinux: glibc 2.34+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","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.5-cp314-cp314-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 c31a49cf260176419f5e4eb7bc2213ae7cdaea28389e46e97f7e6c7a05f5ad90
MD5 f66e41382d0f9ff25131806bb920bc97
BLAKE2b-256 bb7e7cf23b89e5fe070502c882d13221bb200e95ffdef1c734a8660a97128872

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fabricatio_locale-0.1.5-cp314-cp314-manylinux_2_34_aarch64.whl
  • Upload date:
  • Size: 421.5 kB
  • Tags: CPython 3.14, manylinux: glibc 2.34+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","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.5-cp314-cp314-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 d7eb2e894c27682bdee08bd9ccf0a3b17520a0f37ca170e053061422cf3aaf25
MD5 72323d8a3862015f1a2614635547d1bd
BLAKE2b-256 d142293e80e0ad1eca8c2a3142c9b21429843c287ff0feb3de2b6924b538689b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fabricatio_locale-0.1.5-cp314-cp314-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 408.2 kB
  • Tags: CPython 3.14, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","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.5-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 84240daa78ddb0af3e1d134d2cf92292ad5877bbb248f591ff97f2cd6ee2287e
MD5 bb4d5aaef2da8716bc2bac1ab7151379
BLAKE2b-256 67cc765bf710953ab344251288cbf7a279bad2ce09db650bc2db97c61ff068ff

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fabricatio_locale-0.1.5-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 346.1 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","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.5-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 8ebd98b271a002a1148e57e042953b7079f35030c69b9e72026f5ea495590d18
MD5 932569afe9df717e8e176b13f92a0f2d
BLAKE2b-256 464f4af24324ed231ae498d08eb558b91eac96468466434b5a5f08a89715c622

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fabricatio_locale-0.1.5-cp313-cp313-manylinux_2_34_x86_64.whl
  • Upload date:
  • Size: 461.5 kB
  • Tags: CPython 3.13, manylinux: glibc 2.34+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","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.5-cp313-cp313-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 d664f063bdc5fd4c1f0617011c5541fd4cb946474a24e74d680fa17693a87c98
MD5 3c02432a516b4b744c961434811f2b8f
BLAKE2b-256 c5534eb2c0c18535012b82aa7327274206cc5311e82b94b7a798eae314394ff9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fabricatio_locale-0.1.5-cp313-cp313-manylinux_2_34_aarch64.whl
  • Upload date:
  • Size: 421.1 kB
  • Tags: CPython 3.13, manylinux: glibc 2.34+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","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.5-cp313-cp313-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 82782e2e24b3b93513cfb8cab9154de03d0ce17cde0cd016443c71127d22f08e
MD5 c8556c2db5da11df088684dd4c39400c
BLAKE2b-256 7f0c5edc116458cbdf69d15a0c474f319ffa3470e8f0fea702175ba1cbc4c42d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fabricatio_locale-0.1.5-cp313-cp313-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 408.2 kB
  • Tags: CPython 3.13, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","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.5-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 73f77271cf50cbbc422e5b796bb164f57e3d49a9a2954c2682616cc8a4521bfb
MD5 49e2a93ccf5011ad0f543aaabeb7f80a
BLAKE2b-256 0b6e65005e825bf18285f0a71262b56ef6e7d505eb6e344ebec932f7d8269431

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fabricatio_locale-0.1.5-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 345.4 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","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.5-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 9ddeb1c6e778f28b7aad115e4f846c40f4a586ac5cd12aecc74fbd214ad106f8
MD5 2cc5b90867f211d7fbdd9bf64dd6285f
BLAKE2b-256 f6effd6a79bbc3e07ab3debdca3cc20ef770c730c0ed08e67c699cd68aa93057

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fabricatio_locale-0.1.5-cp312-cp312-manylinux_2_34_x86_64.whl
  • Upload date:
  • Size: 462.0 kB
  • Tags: CPython 3.12, manylinux: glibc 2.34+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","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.5-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 ec138f7993d6627a02d02384c2573f8fc09fa8b5d951e79432ee542c1bd12430
MD5 61f763e9fa565e4e0b149e813f46bacd
BLAKE2b-256 debfef5f3268e741317e357853dd79f92206af780edfa430cc86018a503a5072

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fabricatio_locale-0.1.5-cp312-cp312-manylinux_2_34_aarch64.whl
  • Upload date:
  • Size: 421.6 kB
  • Tags: CPython 3.12, manylinux: glibc 2.34+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","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.5-cp312-cp312-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 21da0c2ad30b9397781504113670bee72d4db913f357f7948c3b85c8a304e699
MD5 da780a6e128d5e73cccbe9b698159b9f
BLAKE2b-256 1fcb96ea00c1ccdc44abef99354ffc92187b58047074053f417f9d587cc56bbd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fabricatio_locale-0.1.5-cp312-cp312-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 408.6 kB
  • Tags: CPython 3.12, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","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.5-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6469a16176c9f59b5391c90dc50e9ee4e9f863abd409e7fe96464e0f3fd98d96
MD5 e06bf56a824c9ec67d63b33cc89c46de
BLAKE2b-256 d786ee013a68e4b4484220fd0e5860a620deb82837d1433431624d33d6e37095

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