Isn't lang_map of securityguide effective?

Tadashi Jokagi elf at elf.no-ip.org
Tue Oct 4 19:47:12 UTC 2011


Hi Eric,

i official publisher of Japanes team. i do the check about securityguide.

i used tx client. securityguide's lang_map (in .tx/config) is not
effective.it seems that the place probably described is bad.

Please describe "lang_map" below "host" directive.
It seems that then, it becomes expected action.

============================================================
$ git diff .tx/config
diff --git a/.tx/config b/.tx/config
index 908f129..40b2c1a 100644
--- a/.tx/config
+++ b/.tx/config
@@ -1,6 +1,7 @@
 [main]

 host = https://www.transifex.net
+lang_map = aln:aln-AL, ar:ar-SA, as:as-IN, bal:bal-PK, bg:bg-BG,
bn:bn-BD, bn_IN:bn-IN, bs_BA:bs-BA, ca:ca-ES, cs:cs-CZ,
da:da-DK,de_CH:de-CH, de:de-DE, el:el-GR, en_GB:en-GB, es:es-ES,
fa:fa-IR, fi:fi-FI,fr:fr-FR, gu:gu-IN, he:he-IL, hi:hi-IN, hr:hr-H

 [fedora-security-guide.7_Zip]
 file_filter = <lang>/7_Zip.po
@@ -192,5 +193,3 @@ file_filter = <lang>/Yubikey.po
 source_file = pot/Yubikey.pot
 source_lang = en

-lang_map = aln:aln-AL, ar:ar-SA, as:as-IN, bal:bal-PK, bg:bg-BG,
bn:bn-BD, bn_IN:bn-IN, bs_BA:bs-BA, ca:ca-ES, cs:cs-CZ,
da:da-DK,de_CH:de-CH, de:de-DE, el:el-GR, en_GB:en-GB, es:es-ES,
fa:fa-IR, fi:fi-FI,fr:fr-FR, gu:gu-IN, he:he-IL, hi:hi-IN, hr:hr-H
-
============================================================

* expect result
$ tx pull -l ja
Pulling new translations for resource
fedora-security-guide.Security_Introduction (source:
pot/Security_Introduction.pot)
 -> ja: ja-JP/Security_Introduction.po
        ~~~~~ (OK: ja-JP)

* actual result
$ tx pull -l ja
Pulling new translations for resource
fedora-security-guide.Security_Introduction (source:
pot/Security_Introduction.pot)
 -> ja: ja/Security_Introduction.po
        ~~ (NG: ja)


in the related talk, ja is unnecessary.
as for Japanese, ja-JP should just exist.
i perform the work relevant to this.

thanks,

-- 
----.----1----.----2----.----3----.----4----.----5----.----6----.----7
Tadashi Jokagi mailto:elf at elf.no-ip.org Twitter: http://bit.ly/a4DzKL
Yokukitana III http://poyo.jp/
Yokukita blog http://blog.poyo.jp/ Yokukita wiki http://wiki.poyo.jp/
HotPHPPER News http://news.hotphppher.net/


More information about the trans mailing list