Skip to main content

Auto-Localization Generation Tool

Project description

Verblaze Logo

Verblaze is an automatic localization generation tool that helps you manage and generate translations for your projects.

📚 Visit verblaze.com for detailed guides and examples.

Features

  • 🚀 Quick and easy setup
  • 🌍 Support for multiple frameworks and technologies
  • 📦 Automatic string extraction
  • 🔄 Seamless integration with Verblaze Dashboard
  • 💻 Simple command-line interface

Installation

pip install verblaze

Quick Start

1. Configure Verblaze

First, set up your Verblaze configuration using your secret key from the dashboard:

verblaze config --secret-key YOUR_SECRET_KEY

2. Generate Translations

Extract strings from your project using the generate command:

verblaze generate -t TEMPLATE -d PROJECT_DIRECTORY -f FOLDERS

Parameters:

  • -t: Template/framework (Required)
    • Supported templates: flutter, react, react-native, angular, plain-html, vue, svelte, ember, backbone, swift, kotlin, javafx, wpf, qt, blazor, nextjs
  • -d: Project directory path (Required)
  • -f: Folders containing UI code, comma-separated (Required)

Example:

verblaze generate -t react -d /path/to/project -f "src,components,pages"

3. Import Translations

To import existing translations from JSON or ARB files into Verblaze:

verblaze import_translations -p PATH --language LANG_CODE --format FORMAT

Parameters:

  • -p or --path: Path to translation file (Required)
  • --language: Language code (e.g., en, tr, es) (Required)
  • --format: File format (json or arb) (Required)

Example:

verblaze import_translations -p translations/en.json --language en --format json

Supported Frameworks

  • React
  • React Native
  • Angular
  • Vue
  • Svelte
  • Flutter
  • Plain HTML
  • Ember
  • Backbone
  • Swift
  • Kotlin
  • JavaFX
  • WPF
  • Qt
  • Blazor
  • Next.js

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

FAQ

Q: How do I get my secret key? A: You can obtain your secret key from the Verblaze Dashboard after creating an account.

Q: Which Python versions are supported? A: Python 3.6 and above are supported.

Q: Can I use Verblaze with my existing project? A: Yes, Verblaze supports multiple frameworks and can be integrated with existing projects.

Changelog

[1.0.3] - 2025-01-10

  • Keys are now generated by AI.

[1.0.2] - 2024-12-15

  • First stable release
  • Added new command: import_translations with support for JSON and ARB file imports
  • Enhanced loading animations
  • Improved error messages and user feedback
  • Updated documentation

[0.0.4] - 2024-11-27

  • Added loading animation during string synchronization
  • Fixed regex pattern for Flutter string extraction
  • Improved user feedback during synchronization process
  • Updated documentation and README

[0.0.1] - 2024-11-20

  • Initial release
  • Added support for multiple frameworks
  • Implemented string extraction functionality
  • Created CLI interface with config and generate commands

Project details


Download files

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

Source Distribution

verblaze-1.0.8.tar.gz (20.2 kB view details)

Uploaded Source

Built Distribution

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

verblaze-1.0.8-py3-none-any.whl (29.5 kB view details)

Uploaded Python 3

File details

Details for the file verblaze-1.0.8.tar.gz.

File metadata

  • Download URL: verblaze-1.0.8.tar.gz
  • Upload date:
  • Size: 20.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for verblaze-1.0.8.tar.gz
Algorithm Hash digest
SHA256 91810e82662566e8c8d0925e46e95799f2430a8ec8627e5ad9b4b99ee61b586e
MD5 ff853a58efca0d92c8a3fabb5d08c5b7
BLAKE2b-256 d3f2a3c3e5122ebbe875ec8ff5130ed3bcf6497bd87f2bf8710c21abbe893465

See more details on using hashes here.

File details

Details for the file verblaze-1.0.8-py3-none-any.whl.

File metadata

  • Download URL: verblaze-1.0.8-py3-none-any.whl
  • Upload date:
  • Size: 29.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for verblaze-1.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 d15d01153f7316eb859c56afb4e7cb436a0202ed4b00ad8a2c2c33077b010727
MD5 d2eb3f936ab9495d145f50a77d08fbc0
BLAKE2b-256 8143c767c6eeac98a2dcfb788144a59ad8a2ac2c839121c2936beb6ec3b692b9

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