We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9482b6d commit ff0af90Copy full SHA for ff0af90
README.md
@@ -0,0 +1,26 @@
1
+# Live Translator Plugin for Vue 2
2
+
3
+## Install
4
+```bash
5
+npm i -s https://github.com/apicore-engineering/vue-i18n-live-translator-plugin
6
+```
7
8
+## Use
9
+```typescript
10
+import LiveTranslatorPlugin, { TranslationMeta } from 'vue-i18n-live-translator-plugin'
11
12
+Vue.use(LiveTranslatorPlugin, {
13
+ i18n,
14
+ translationLink (meta: TranslationMeta) {
15
+ return '' // your platform-specific link to the translation software
16
+ },
17
+ persist: true,
18
+})
19
20
21
+## Weblate example
22
23
+translationLink (meta: TranslationMeta) {
24
+ return `<weblate_url>/translate/<project>/<component>/${meta.locale}/?q=context:=${meta.path}`
25
+}
26
0 commit comments