btc-us-website icon indicating copy to clipboard operation
btc-us-website copied to clipboard

Make the contribution of translations easier with `inlang` editor

Open NilsJacobsen opened this issue 2 years ago • 3 comments

Let me know what changes you request for merging this PR.

Description

This pull request adds the possibility for contributors and translators to manage translations in a UI instead of files with no overhead for the maintainers.

To get a UI for translations contained in this repository, an inlang.config.js has been created at the root of the repository.

Preview

The changes of this PR and a live instance of the editor can be previewed with the following link https://inlang.com/editor/github.com/NilsJacobsen/btc-us-website. Note: This link should be changed to point to btc-us-website instead of NilsJacobsen after this PR has been merged. With the lints you instantly see which translations are missing.

Limitations

Certain actions are slow Inlang is running entirely on git, giving tremendous CI/CD and contribution power to localization (and potentially other verticals -> the next git). That means that the whole btc-us-website repo is cloned into the browser which makes certain actions like the initial load and pushing changes slow. Those limitations will be fixed with future releases and require no input from btc-us-website.

pika-1680686287719-1x

Badge

If you want to show the contributor the status of the translations, you could add a badge to your readme.

[![translation badge](https://inlang.com/badge?url=github.com/hirosystems/btc-us-website)](https://inlang.com/editor/github.com/hirosystems/btc-us-website?ref=badge)

Preview the messages on https://inlang.com/github.com/NilsJacobsen/btc-us-website .

NilsJacobsen avatar May 11 '23 07:05 NilsJacobsen

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar May 11 '23 07:05 CLAassistant

This looks like an easy win!

As a side note: docs for stacks.co is using crowdin (https://crowdin.com/project/docsstacksco)

friedger avatar May 18 '23 10:05 friedger

Hey @friedger, I think inlang holds the ecosystem advantage. By adding this little config you can in de future also use other apps like the ide-extension, cli, automations ... everything is git based:D Further reading

That approach really hooked me, that's we I also started contributing there.

NilsJacobsen avatar May 19 '23 08:05 NilsJacobsen