Skip to content

qvotaxon/translation-file-watcher

Repository files navigation

Downloads Code Size Visual Studio Code

GitHub Workflow Status Open Issues Closed Issues Contributors Languages Latest version

License

Translation File Watcher

Note: This extension is still under development and should be used with that assumption.

Translation File Watcher is a versatile Visual Studio Code extension designed to streamline the management of translation files within your development projects. With its intuitive features, Translation File Watcher simplifies the process of handling translation keys, providing flexibility and efficiency in your workflow.

Motivation

TODO:

  • Explain what made me create this vscode extension

Screenshots

Features

  • Translation Key Extraction: Easily extract translation keys from code files, ensuring accurate localization of your application.
  • PO File Support: Optionally utilize PO files for translation management, allowing for seamless integration with existing localization workflows.
  • PO to i18n-next JSON Conversion: Convert PO files to i18n-next JSON format effortlessly, facilitating compatibility with various localization tools and libraries.
  • i18n-next JSON to PO Conversion: Convert i18n-next JSON files back to PO format with ease.
  • Automatic Translations: Automatically generate translations for all locales when adding a translation for one locale. (Currently uses DeepL)

Modes

  • Manual Mode: Take control of translation key extraction by manually clicking on status bar icons, allowing for precise management of translation files.
  • Automatic Mode: Enable automatic translation key extraction upon file save, ensuring real-time updates and effortless synchronization of translation files with your codebase.

Installation

Navigate to Tagged Releases and download the latest stable VSIX file.

TODO:

  • add more instructions
  • explain the need for i18n-next-scanner.config.json file.
  • explain need for file path configurations

Configuration

TODO:

  • explain configuration options

Usage/Examples

TODO

  • show code samples and required configuration

🚧 Roadmap

Somewhere in the nearer future

  • reduce required configuration / setup

Somewhere in the far future

  • Implement ai features

πŸ‘ Acknowledgements

This extension leans on at least the following libraries / packages.

πŸ€“ Authors

πŸš€ About Me

TODO

  • Tell a bit more About Me...