Transx

Latest version: v0.6.1

Safety actively analyzes 723217 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.6.1

Refactor

- **core**: Add translation and parameter caching for improved performance

0.6.0

Feat

- **transx**: Add context management and instance caching for TransX
- **transx**: Add context management and instance caching for TransX

Refactor

- **core**: Improve locale handling and add new interpreters for nested templates and environment variables
- **core**: Refactor string formatting and exception handling

0.5.1

Refactor

- **core, api**: Update variable names and string decoding methods
- **core**: Refactor translation loading and MO file handling - Use explicit encoding and updated logging - Optimize MO file reading and add hash table for faster lookups

0.5.0

Feat

- **translator**: Add setter for current locale and update tr method with context parameter
- **interpreter**: Add EnvironmentVariableInterpreter to support environment variables

Refactor

- **api**: Refactor import statements in mo.py
- **core**: Refactor locale switching and translation loading logic

0.4.0

Feat

- **cli**: Add translate command with support for multiple languages and specific files

Refactor

- **filesystem**: Update file read/write functions to use explicit encoding and add gitignore handling

0.3.0

Feat

- **cli**: Add list command to display available locales
- **translator**: Add French locale messages.mo file
- **core,docs**: Add available_locales property and update README with usage example
- **translator**: Use centralized language list for translation workflows
- **cli**: Enhance command line interface with improved examples and default values

Refactor

- **api**: Refactor header comment and request headers usage

Page 1 of 2

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.