Language System Revamp
- By captainerd
- 18/12/2024
- 0 comments
We're excited to announce the launch of our revamped language management system! This new system makes it easier than ever to create, manage, and translate languages for your Ventocart store.
Simplifying the Language Selection Process
Gone are the days of manually entering language codes and worrying about standards. Our new system takes the guesswork out of the process by automatically providing you with a list of standardized language names and localization codes based on your country selection. Simply choose your country, select the desired language, and you're ready to get started.
Flag Icons and Automatic Text Insertion
For your convenience, the flag icon for the selected country will be automatically inserted along with the default English text for the entire application. This gives you a clear visual representation of the language you're working with.
Massive Translation Editing and Efficient Exporting
At the bottom of the language form, you'll find a "Proceed to translate" button that leads you to a form with two options:
1. Massive Translation Editing: This option allows you to edit all keys of a selected language file in one go.
2. Export All Language Entries: This option exports all language entries for the entire application (Admin, Front, and all currently installed extensions) as one large text file (.txt). You can then use this file to feed into machine translation services like Google Translate, DeepL, or others to help you with the translation process. Once you've finished translating, simply import the exported and translated file back into Ventocart.
Unparalleled Security Measures
We've implemented robust security measures to protect your language files:
* Each language file communicates with the browser using a unique secret HASH that corresponds to that file, preventing unauthorized access.
* Both the language file editor and the importer perform code evaluation for errors.
* Keys are extracted as variables and compared against the default 'en-gb' English keys. If a user-provided key is missing, the English key will automatically replace it in the user input to prevent errors or broken language displays.
Flexible Export Formats
The language file exporter offers two formats:
* Numeric Type: This order-based numbered system is for convenience when dealing with machine translation issues. However, it's unstable since it's order-dependent. Avoid using it if you've installed or uninstalled extensions since your last export.
* Variable Type: This format processes keys based on file target and key target, ensuring stability. Always prefer this format for exporting/importing language text files.
We believe this new language management system will make it easier and more efficient for you to manage the language of your Ventocart store. With its simplified selection process, flag icons, massive translation editing, efficient exporting, and robust security measures, we're confident you'll find this new system to be an invaluable tool for your multilingual eCommerce needs.