You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
```enabled``` | (Since 1.4.0) (Optional) Enables the generation of the block's related task. Defaults to `true`.
86
86
```tags``` | (Since 2.1.0) (Optional) List of PoEditor tags to download. Defaults to empty list.
87
87
```languageValuesOverrideMap``` | (Since 2.2.0) (Optional) Map of `language_code:path` entries that you want to override the default language values folder with. Defaults to empty map.
88
-
```minimumTranslationPercentage``` | (TBD) (Optional) The minimum accepted percentage of translated strings per language. Languages with fewer translated strings will not be fetched. Defaults to no minimum, allowing all languages to be fetched.
88
+
```minimumTranslationPercentage``` | (Since 2.3.0) (Optional) The minimum accepted percentage of translated strings per language. Languages with fewer translated strings will not be fetched. Defaults to no minimum, allowing all languages to be fetched.
89
89
90
90
After the configuration is done, just run the new ```importPoEditorStrings``` task via Android Studio or command line:
91
91
@@ -445,6 +445,38 @@ poEditor {
445
445
446
446
</details>
447
447
448
+
## Tweaking minimum translation percentages
449
+
> Requires version 2.3.0 of the plug-in
450
+
451
+
The plug-in also allows setting a minimum percentage of translated strings to download languages. This is set-up with the `minimumTranslationPercentage` parameter in your `poEditor` or `poEditorConfig` blocks:
452
+
453
+
<detailsopen><summary>Groovy</summary>
454
+
455
+
```groovy
456
+
poEditor {
457
+
apiToken = "your_api_token"
458
+
projectId = 12345
459
+
defaultLang = "en"
460
+
minimumTranslationPercentage = 85
461
+
}
462
+
```
463
+
464
+
</details>
465
+
466
+
<details><summary>Kotlin</summary>
467
+
468
+
```kotlin
469
+
poEditor {
470
+
apiToken ="your_api_token"
471
+
projectId =12345
472
+
defaultLang ="en"
473
+
minimumTranslationPercentage =85
474
+
}
475
+
```
476
+
477
+
</details>
478
+
479
+
448
480
## iOS alternative
449
481
If you want a similar solution for your iOS projects, check this out: [poeditor-parser-swift](https://github.com/hyperdevs-team/poeditor-parser-swift)
450
482
@@ -453,6 +485,7 @@ If you want a similar solution for your iOS projects, check this out: [poeditor-
0 commit comments