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.6.dev0-cp314-cp314-win_amd64.whl (347.6 kB view details)

Uploaded CPython 3.14Windows x86-64

fabricatio_locale-0.1.6.dev0-cp314-cp314-manylinux_2_34_x86_64.whl (462.6 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.34+ x86-64

fabricatio_locale-0.1.6.dev0-cp314-cp314-manylinux_2_34_aarch64.whl (422.1 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.34+ ARM64

fabricatio_locale-0.1.6.dev0-cp314-cp314-macosx_11_0_arm64.whl (408.8 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

fabricatio_locale-0.1.6.dev0-cp313-cp313-win_amd64.whl (347.9 kB view details)

Uploaded CPython 3.13Windows x86-64

fabricatio_locale-0.1.6.dev0-cp313-cp313-manylinux_2_34_x86_64.whl (462.7 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.34+ x86-64

fabricatio_locale-0.1.6.dev0-cp313-cp313-manylinux_2_34_aarch64.whl (422.2 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.34+ ARM64

fabricatio_locale-0.1.6.dev0-cp313-cp313-macosx_11_0_arm64.whl (407.8 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

fabricatio_locale-0.1.6.dev0-cp312-cp312-win_amd64.whl (347.4 kB view details)

Uploaded CPython 3.12Windows x86-64

fabricatio_locale-0.1.6.dev0-cp312-cp312-manylinux_2_34_x86_64.whl (462.6 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ x86-64

fabricatio_locale-0.1.6.dev0-cp312-cp312-manylinux_2_34_aarch64.whl (421.7 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ ARM64

fabricatio_locale-0.1.6.dev0-cp312-cp312-macosx_11_0_arm64.whl (407.3 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

File details

Details for the file fabricatio_locale-0.1.6.dev0-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: fabricatio_locale-0.1.6.dev0-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 347.6 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.6.dev0-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 6d8d90ee99adf15b4df5047d715e1c1dc9e3e8fc30b3700cbf6eeec614a5d4d9
MD5 0abf294b6db6ef4876f78ba912146bcb
BLAKE2b-256 914f597593f32896a185d0d4624b39ff2cdcc23c52cf1b2f31f8eb137d2a8beb

See more details on using hashes here.

File details

Details for the file fabricatio_locale-0.1.6.dev0-cp314-cp314-manylinux_2_34_x86_64.whl.

File metadata

  • Download URL: fabricatio_locale-0.1.6.dev0-cp314-cp314-manylinux_2_34_x86_64.whl
  • Upload date:
  • Size: 462.6 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.6.dev0-cp314-cp314-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 75d569d2ed227ba8e33c3af29c927103801856f5b1572d709785b614d31bb0bf
MD5 a7d1de9c2cf7210234b65dc1ea2f0339
BLAKE2b-256 8c488d8d6ba72ae461947d2942a26b1a8135011d3eb0dd7333409de27b79f4b9

See more details on using hashes here.

File details

Details for the file fabricatio_locale-0.1.6.dev0-cp314-cp314-manylinux_2_34_aarch64.whl.

File metadata

  • Download URL: fabricatio_locale-0.1.6.dev0-cp314-cp314-manylinux_2_34_aarch64.whl
  • Upload date:
  • Size: 422.1 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.6.dev0-cp314-cp314-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 b1a2f4624c209ceef56d0d6e7f92bd626593e884b125a03102127ab65bed8336
MD5 285cb750d037a6b48afe2cb1e49488c6
BLAKE2b-256 c02e87e39261e0c03180d139b9084195bcd0ab6b171d3a57e1244da60bbb3278

See more details on using hashes here.

File details

Details for the file fabricatio_locale-0.1.6.dev0-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

  • Download URL: fabricatio_locale-0.1.6.dev0-cp314-cp314-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 408.8 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.6.dev0-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 810dfb88796e1bf569b85bf0efc86dd857bf7480d70bab7003ec5a882ceeae6c
MD5 15f144b2130b4d2f67052e599aa1a670
BLAKE2b-256 15dbc183f8d42028d2d611530a9de8b2a5cfae3c53eeec6cb7a54885ac7851ee

See more details on using hashes here.

File details

Details for the file fabricatio_locale-0.1.6.dev0-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: fabricatio_locale-0.1.6.dev0-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 347.9 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.6.dev0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 48cfea50c1213f699bd5cebac5c0280bfb555e16847b9a15bd499468eedbc454
MD5 ac6b76c563cf31a1107426a4235f57c8
BLAKE2b-256 af3bf8e6e89828ce77380789b0a7d3cd7eaa48800e45c6b73c4afc3a1b848fc1

See more details on using hashes here.

File details

Details for the file fabricatio_locale-0.1.6.dev0-cp313-cp313-manylinux_2_34_x86_64.whl.

File metadata

  • Download URL: fabricatio_locale-0.1.6.dev0-cp313-cp313-manylinux_2_34_x86_64.whl
  • Upload date:
  • Size: 462.7 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.6.dev0-cp313-cp313-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 403d540802a4e3ca6ddaf4804bb13e3be43fecf25eea84ed6e6275bf17761739
MD5 a2beb7c8e7fd30b91a53012b70aaa376
BLAKE2b-256 bbf1950d8b79cc6e0c021a454f8cd78e277d0610cc1344d48b20949b5b8532b6

See more details on using hashes here.

File details

Details for the file fabricatio_locale-0.1.6.dev0-cp313-cp313-manylinux_2_34_aarch64.whl.

File metadata

  • Download URL: fabricatio_locale-0.1.6.dev0-cp313-cp313-manylinux_2_34_aarch64.whl
  • Upload date:
  • Size: 422.2 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.6.dev0-cp313-cp313-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 c93fe04624e45721df4af496f3b249c8807c977fa5e7a87f850faee37d86386e
MD5 c1534502284b3473ec0167c5f778db08
BLAKE2b-256 8900bb76cda03c06ae09bbb8fd986fe3f977dfd394b68b5fe8b5f2e7ce405527

See more details on using hashes here.

File details

Details for the file fabricatio_locale-0.1.6.dev0-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

  • Download URL: fabricatio_locale-0.1.6.dev0-cp313-cp313-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 407.8 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.6.dev0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8aef6cc7e63e7d171f9c4388b31ae1af57f5bbfaf1c3134fe574ff28cd28d15c
MD5 e9754f5dd7d6db17d419c7893f90b5bc
BLAKE2b-256 1351e3a89a3b6afe60e402f87dd36dc2fa91b67d474188f9a9ccc8191bdaabde

See more details on using hashes here.

File details

Details for the file fabricatio_locale-0.1.6.dev0-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: fabricatio_locale-0.1.6.dev0-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 347.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.6.dev0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 90ce0e5219d10361693d0e9e86bf671d3b9faae277eea9d78aa783efe697b566
MD5 23a414d386d2627686e3d28c55d7a452
BLAKE2b-256 8930a9265d718ea60888afc81eb6b8d1c546de0e0f13aef45f1a87f2f998e647

See more details on using hashes here.

File details

Details for the file fabricatio_locale-0.1.6.dev0-cp312-cp312-manylinux_2_34_x86_64.whl.

File metadata

  • Download URL: fabricatio_locale-0.1.6.dev0-cp312-cp312-manylinux_2_34_x86_64.whl
  • Upload date:
  • Size: 462.6 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.6.dev0-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 3521135942ead04859043cae8180f5d3429cfb407d9f0f5fe9258c6f354ca268
MD5 3cb5b4752e208cd0a7a0399b07bbdb24
BLAKE2b-256 964f98c32de8d7d556b8643f878f242c3d81f82fefc5e2d5bdc9803b2adf69cc

See more details on using hashes here.

File details

Details for the file fabricatio_locale-0.1.6.dev0-cp312-cp312-manylinux_2_34_aarch64.whl.

File metadata

  • Download URL: fabricatio_locale-0.1.6.dev0-cp312-cp312-manylinux_2_34_aarch64.whl
  • Upload date:
  • Size: 421.7 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.6.dev0-cp312-cp312-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 bed2b6d7d3f4a42de152cd7f20a6f7b916e32b983ea9919ae4857c8cb6824a15
MD5 1d95588c3e7022f2f6805190143dd22f
BLAKE2b-256 ba31cd198fa7a5c646f207422f2737ff3fbfa9f45c954282c8c3e29c398d5d79

See more details on using hashes here.

File details

Details for the file fabricatio_locale-0.1.6.dev0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

  • Download URL: fabricatio_locale-0.1.6.dev0-cp312-cp312-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 407.3 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.6.dev0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1b5d013f2ba374b2cd588aeb735239408468d3e8dffbeea20cf94dea66809674
MD5 908df5a89d8954467465d559e761693a
BLAKE2b-256 1b53bcd38b1e7ac75d776a1b21de779b6f88240bef671fafcbdc062a041a0889

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