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

Uploaded CPython 3.14Windows x86-64

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

Uploaded CPython 3.14manylinux: glibc 2.34+ x86-64

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

Uploaded CPython 3.14manylinux: glibc 2.34+ ARM64

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

Uploaded CPython 3.14macOS 11.0+ ARM64

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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13manylinux: glibc 2.34+ x86-64

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

Uploaded CPython 3.13manylinux: glibc 2.34+ ARM64

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

Uploaded CPython 3.13macOS 11.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12manylinux: glibc 2.34+ x86-64

fabricatio_locale-0.1.6-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-cp312-cp312-macosx_11_0_arm64.whl (408.7 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

File details

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

File metadata

  • Download URL: fabricatio_locale-0.1.6-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 347.7 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-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 4551ede72d5bb5c60bb727e5d95c00b0187800a681697ce66604c4dabac3f121
MD5 2e6642a982a6f29d0373847e112a8b93
BLAKE2b-256 a922d180c5daabddc5aa55205592db5450c610993907299521ece3e030be39e2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fabricatio_locale-0.1.6-cp314-cp314-manylinux_2_34_x86_64.whl
  • Upload date:
  • Size: 460.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.6-cp314-cp314-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 5732f2546996ce4311782f651adb1a21f16b00686f14218211873e62184c9573
MD5 3c2b5145955c84a82c04ce64e4073052
BLAKE2b-256 46520cffe29e61c99b736d35b7e85c7a7de0f7a0bb89eafd490e9464e288dcdb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fabricatio_locale-0.1.6-cp314-cp314-manylinux_2_34_aarch64.whl
  • Upload date:
  • Size: 422.2 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-cp314-cp314-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 cbbb0dc402d5194d4811edef37f7e59532338be1b35f1152098d6820aa1e12a4
MD5 568e412ccd8124508d570f88cd4b517f
BLAKE2b-256 4f17700c0a9af405f9fd08a88382b254bf977b7bf16937fc8b4357c96edabb75

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fabricatio_locale-0.1.6-cp314-cp314-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 409.5 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-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 691ac37a60fe8cc718986824559a09a4a9219b6b5b8af1a30dcad53fb9207761
MD5 dfb389235127ec47e3a1bb7885c6968d
BLAKE2b-256 663780698e29927c42bbba9c928d6a4a3301287929e4992f88e9e9c6a0145493

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fabricatio_locale-0.1.6-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 347.7 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-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 57049bc0cddcf39533ea158ea0cdac1e82b4439238d27d563400758120a84eb6
MD5 eccd01c5f2ed53ec571e9fcb39095871
BLAKE2b-256 e7a526504bee3066d92e04efe5d5a2d587bfa5cd7b214f6ae75aec589159f145

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fabricatio_locale-0.1.6-cp313-cp313-manylinux_2_34_x86_64.whl
  • Upload date:
  • Size: 460.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.6-cp313-cp313-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 019f1018137850b0185bd2271ba38dd185ae9a43b53089e2dc02cb76f86d0e7d
MD5 836731435f2d52e1685e09a1629ccea3
BLAKE2b-256 f1285e02567992013dca94c91c02f982e91826dee2d22ef3d573b5fa9e51b5c9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fabricatio_locale-0.1.6-cp313-cp313-manylinux_2_34_aarch64.whl
  • Upload date:
  • Size: 422.3 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-cp313-cp313-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 f11fc78b04e1571dafd8b00bfd95f803dd4ab17168a43ac0dfa2d5c574e624a3
MD5 047ed42461aa459040d50cf9ac023bf7
BLAKE2b-256 6ebf0fe286cfc2ab0d0f2b0376c5a28bd23147024dcced655e7af3bc75b1a821

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fabricatio_locale-0.1.6-cp313-cp313-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 409.6 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-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 217ffd255971fa89b35fb4744375daa8445eea5fb2ff613940854ff0e3651124
MD5 9352be24c8996fcb4bc24c899a671944
BLAKE2b-256 a074288d7ab092e36d6ff800383c1758802d0b65457fb029d83785fbd9092e74

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fabricatio_locale-0.1.6-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 347.5 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-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 4ef0727340f9fbdbf2b5724e5a225fb9bea7a1d265ceaacd74b297b4dcb1df94
MD5 982d876152a87115aca55a60571591dc
BLAKE2b-256 e8d955e3a0377d7718aa9a066af794ba524f16d43a9a714c1fb43cc092844340

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fabricatio_locale-0.1.6-cp312-cp312-manylinux_2_34_x86_64.whl
  • Upload date:
  • Size: 460.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-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 049f64a3fd99244c58264e7ad635accaa5910f6290af72570f04ab808a523a93
MD5 59b66ffdae958458a6ffa1302feb53cd
BLAKE2b-256 109c92d6930badd25e81ab7a6c62a70dba33f899e5d2067971f04229a4083855

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fabricatio_locale-0.1.6-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-cp312-cp312-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 b7f289f6d722661bcb81eba5e26e43d5949bc5d94e1b59e105a1a684e4672ac6
MD5 ef26ead2bece9f12c3dbfe162355a892
BLAKE2b-256 588f6d7f7cc3387f1f775d0d45477d531e5bc4627aa143d7bd45cfd991591951

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fabricatio_locale-0.1.6-cp312-cp312-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 408.7 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-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 64fa3330e55c27ba0373e4f6a0cf5e3becda83680637727a636867e58b9c881b
MD5 6a121250b7a2b59ef7b33d4bfbeda1ad
BLAKE2b-256 20c63568eabba373d8e5be1702d501f2d5064630d101054545b1f4bd9cca2b79

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