alxflam / localizer

A Theia based translation tool for ARB files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lint

localizer

Localization tool for ARB files built with Theia.

Getting started

Install prerequistes as described here: https://github.com/eclipse-theia/theia/blob/master/doc/Developing.md#prerequisites

Install node-native-keymap as described here: https://github.com/Microsoft/node-native-keymap

Install nvm.

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.5/install.sh | bash

Install npm and node.

nvm install 12.14.1
nvm use 12.14.1

Install yarn.

npm install -g yarn

Checkout

Checkout repository
yarn 

Running the browser example

yarn rebuild:browser
cd browser-app
yarn start

Open http://localhost:3000 in the browser.

Running the Electron example

yarn rebuild:electron
cd electron-app
yarn start

Developing with the browser example

Start watching of @localizer/core.

cd core
yarn watch

Start watching of the browser example.

yarn rebuild:browser
cd browser-app
yarn watch

Launch Start Browser Backend configuration from VS code.

Open http://localhost:3000 in the browser.

Developing with the Electron example

Start watching of @localizer/core.

cd core
yarn watch

Start watching of the electron example.

yarn rebuild:electron
cd electron-app
yarn watch

Launch Start Electron Backend configuration from VS code.

Troubleshooting

yarn rebuild:browser && yarn rebuild:electron

TODO

  • Add new language resource
  • Add missing translation keys
  • Translation file view should display key metadata
  • Translation Preview should allow editing
  • Group View: Add editing
  • Navigator double-click should open translation dialog for selected key
  • Automate electron build using github actions

About

A Theia based translation tool for ARB files

License:Eclipse Public License 2.0


Languages

Language:TypeScript 98.6%Language:JavaScript 0.9%Language:CSS 0.6%