Skip to content

txty-io/txty-vsc

Repository files navigation

Texterify VSC Extension

Build Status License Open Issues

Official VSC extension to interact with Texterify.

This extension allows you to add keys and download your translations without leaving your editor.

For more information about Texterify visit https://github.com/chrztoph/texterify.

Commands

  • Texterify: Add Key
  • Texterify: Download keys

Installation

This extension uses the texterify CLI program (https://github.com/chrztoph/texterify-cli). To install it run

npm install -g texterify

or

yarn global add texterify

Configuration

Place a texterify.json file in the root directory of your VSC project.

Option Description
api_base_url The base URL of the API ending with /api.
api_version The version of the API (e.g. v1).
project_id The ID of the project which can be found on the project site.
export_directory The directory to export the translations to.

Example

{
    "api_base_url": "http://localhost/api",
    "api_version": "v1",
    "project_id": "6fa821e2-1e7e-4ec6-9b0f-9949ce83b160",
    "export_directory": "translations"
}

Contributing

Want to help build Texterify VSC Extension?

We are happy about every help.

License

License

This project is licensed under the MIT License. See the LICENSE file for details.