Releases: metasmile/strsync
Releases · metasmile/strsync
1.4.1 - Secondary additional languages support (+63)
It will be paired with google translator's neural machine translation coverage.
See for more details: https://cloud.google.com/translate/docs/languages
1.3.2 - minor fixes for pypi package
1.3 - Support format strings
1.2
fix for verification results
fix for verification results
Critical bug fixes
- If users uses the option '-v' and multiple keys were added, the order of translation results might be reversed by alphabet ordering for its first character.
Bug fixes
- Applied correct length of unicode text checker if use an option -fbl, --following-base-keys-if-length-longer for asian characters especially.
- When use the option -iuv, --ignore-unverified-results, strsync will copy from base values if its condition satisfied. In the previous version that (unverified results) had not been added.
Added a feature that allows to verify translated string items via similarity of each reversed results.
In this version strsync allows to verify approximate string matching percentage while working in translation.
If user adds an option -v or --verify-results,
String similarity of the reversed translation result for each languages will be displayed.
$ strsync (...) -v
el
Hi: Hi -> Γεια σου -> Hi, Matched: 100%
fr-CA
Hi: Hi -> Salut -> Hello, Matched: 50%
id
Hi: Hi -> Hai -> Two, Matched: 0%
fr
Hi: Hi -> Salut -> Hello, Matched: 50%
uk
Hi: Hi -> Привіт -> Hi, Matched: 100%
hr
Hi: Hi -> Bok -> Book, Matched: 0%
da
Hi: Hi -> Hej -> Hi, Matched: 100%
ja
Hi: Hi -> こんにちは -> Hello, Matched: 50%
he
Hi: Hi -> היי -> Hey, Matched: 50%
ko
Hi: Hi -> 안녕 -> Hi, Matched: 100%
sv
Hi: Hi -> Hej -> Hi, Matched: 100%
es-MX
Hi: Hi -> Hola -> Hello, Matched: 50%
sk
Hi: Hi -> ahoj -> Hi, Matched: 100%
zh-CN
Hi: Hi -> 你好 -> How are you doing, Matched: 50%
if user adds --ignore-unverified-results [Integer, Percentage (0~100) (default=0)],
If the similarity of each reversed translation result is under the given value, that string will be skipped(ignored).
strings will be skipped if its text similarity from reversed translation result is under 50
$ strsync (...) --ignore-unverified-results 50
el
Hi: Hi -> Γεια σου -> Hi, Matched: 100%
fr-CA
(Ignored) Hi: Hi -> Salut -> Hello, Matched: 50%
id
(Ignored) Hi: Hi -> Hai -> Two, Matched: 0%
fr
(Ignored) Hi: Hi -> Salut -> Hello, Matched: 50%
uk
Hi: Hi -> Привіт -> Hi, Matched: 100%
hr
(Ignored) Hi: Hi -> Bok -> Book, Matched: 0%
da
Hi: Hi -> Hej -> Hi, Matched: 100%
ja
(Ignored) Hi: Hi -> こんにちは -> Hello, Matched: 50%
he
(Ignored) Hi: Hi -> היי -> Hey, Matched: 50%
ko
Hi: Hi -> 안녕 -> Hi, Matched: 100%
sv
Hi: Hi -> Hej -> Hi, Matched: 100%
es-MX
(Ignored) Hi: Hi -> Hola -> Hello, Matched: 50%
sk
Hi: Hi -> ahoj -> Hi, Matched: 100%
zh-CN
(Ignored) Hi: Hi -> 你好 -> How are you doing, Matched: 50%