Transly is an extension for Visual Studio Code that makes translating language files for applications, websites, and any project using JSON, TXT, or CSV files simple. With Transly, you can translate files instantly within VSCode, saving time and streamlining the process of creating multilingual software.
Features
Translate JSON, TXT, and CSV files directly within VSCode.
Supports automatic detection of the source language.
Cache translations to improve performance and speed.
Display a progress bar to track translation status.
Requirements
Node.js must be installed on your system.
An active internet connection to access Google Translate.
Installation
To install and use the Transly extension in VSCode:
Install the extension directly from the Visual Studio Code Marketplace by searching for "Transly".
Usage
Open Visual Studio Code and load the JSON, TXT, or CSV file you want to translate.
Press F1 to open the Command Palette, then type and select Translate File with Transly.
Choose the target language from the list to translate the file.
The translated file will be saved in the same directory with the language code added to the file name (e.g., test_fa.json).
Commands
Transly: Translate File: Translates the current file (supports JSON, TXT, CSV).
Roadmap
Add support for more file formats.
Improve caching mechanism for better performance.
Enhance the user interface for translation options.
Web Version: Plan to create a web version for online use with subscription-based advanced features.
API Integration: Allow integration with other services using an API.
License
This project is licensed under the GPL-3.0 License.