Edgewall Software
Modify

Opened 10 years ago

Last modified 5 years ago

#5471 new task

Translation of Trac to Japanese/日本語 [ja_JP]

Reported by: asmodai@… Owned by: Jun Omae
Priority: normal Milestone: translations
Component: i18n Version:
Severity: normal Keywords: l10n japanese 日本語
Cc: trac-ja@…, shunichi.goto@…, support@…, iwai@…, jun66j5@…
Release Notes:
API Changes:

Description

This ticket should be used to coordinate the translation to Japanese/日本語.

Attachments (12)

messages.po.gz (19.3 KB ) - added by Shun-ichi Goto <shunichi.goto@…> 10 years ago.
Japanese translation against i18n branch r5942
messages.po.2.gz (20.0 KB ) - added by Kyosuke Takayama <support@…> 10 years ago.
Japanese translation i18n branch r6950
messages.po (92.7 KB ) - added by Kyosuke Takayama <support@…> 10 years ago.
Japanese translation from trunk r7087
messages-r198.po (115.7 KB ) - added by IWAI, Masaharu <iwai@…> 9 years ago.
Japanese translation based trunk r8057 messages.pot (Shibuya.trac 198r)
messages-216r.ja.po (112.1 KB ) - added by IWAI, Masaharu <iwai@…> 9 years ago.
Japanese translation based trunk r8118 messages.pot (Shibuya.trac 216r)
messages-r251.ja.po (110.5 KB ) - added by Kyosuke Takayama <support@…> 8 years ago.
Japanese translation based trunk r8244 messages.pot (Shibuya.trac r251)
messages-r292.ja.po (116.9 KB ) - added by Kyosuke Takayama <support@…> 8 years ago.
Japanese translation based trunk r8268 messages.pot (Shibuya.trac r292)
messages-r432.ja.po (126.7 KB ) - added by Kyosuke Takayama <loiseau@…> 8 years ago.
messages-r460.ja.po (129.2 KB ) - added by Kyosuke Takayama <loiseau@…> 8 years ago.
Japanese translation based trunk r8633 messages.pot (Shibuya.trac r460)
messages-r644.ja.po (165.1 KB ) - added by Jun Omae <jun66j5@…> 8 years ago.
Japanese translation based trunk r9456 messages.pot (Shibuya.trac@644)
messages-r645.ja.po (165.1 KB ) - added by Jun Omae <jun66j5@…> 8 years ago.
Japanese translation based trunk r9456 messages.pot (Shibuya.trac@645)
messages-ja-r9469.diff (5.7 KB ) - added by Jun Omae <jun66j5@…> 8 years ago.
Japanese translations patch for r9469

Download all attachments as: .zip

Change History (53)

comment:1 Changed 10 years ago by asmodai@…

See also TracTermsJa.

comment:2 Changed 10 years ago by asmodai@…

Keywords: japanese added

comment:3 Changed 10 years ago by anonymous

Cc: trac-ja@… added

comment:4 Changed 10 years ago by Jeroen Ruigrok van der Werven

Milestone: not applicable0.12
Owner: changed from Jonas Borgström to Jeroen Ruigrok van der Werven

comment:5 Changed 10 years ago by Jeroen Ruigrok van der Werven

Status: newassigned

Please see source:sandbox/i18n/trac/locale/ja_JP/LC_MESSAGES/messages.po for the first version of the translation file.

comment:6 Changed 10 years ago by Shun-ichi Goto <shunichi.goto@…>

Cc: shunichi.goto@… added

Wow, wanderful! I'll check and fix words soon.

comment:7 Changed 10 years ago by Shun-ichi Goto <shunichi.goto@…>

Now I'm translating ja_JP .po file (current state is 50%) and I'm bothered by some msgid and have requests of message extraction in .pot file.

Some msgid in .pot file is not good to translate becuase single sentence are splitted into some parts.

For example, msgid="(added by" and msgid="ago)" should be merged as one id and parameterized. I want msgid="(added by $1 $2 ago)" and translated to msgstr="$1により$2前に追加".

I don't know how .pot is generated (auto generated by extractor?), But Change of msgid (in .pot) may bother other translations already started… Any plan?

comment:8 Changed 10 years ago by Jeroen Ruigrok van der Werven

Yes, right now this is a problem that is still open to fix, please see http://genshi.edgewall.org/ticket/129 for more details as they become available.

So please, concentrate on those parts of the messages.po file that can be translated and leave the broken sentences for now. We will get there, step by step.

The .pot is generated through

./setup.py extract_messages

and the file misses a lot of information. This will be fixed up in the coming days now that cmlenz implemented some new feature for me.

comment:9 in reply to:  8 Changed 10 years ago by Shun-ichi Goto <shunichi.goto@…>

Thanks. I'll go with current messages. And watch genshi/babel tickets also.

Changed 10 years ago by Shun-ichi Goto <shunichi.goto@…>

Attachment: messages.po.gz added

Japanese translation against i18n branch r5942

comment:10 Changed 10 years ago by Shun-ichi Goto <shunichi.goto@…>

I added the Japanese translation against i18n branch (r5942). All the msgids are translted.

BTW, there's many non-extracted words and badly fragmented phrases in i18n branch code due to lack of i18n:msg attributes although with latest babel/genshi. Current view is not good to use. How do I contribute it? By making a patch and attaching onto this ticket? or send patch to trac-dev? Or go ahead with this extraction and wait improvement of genshi?

comment:11 in reply to:  10 Changed 10 years ago by Emmanuel Blot

Replying to Shun-ichi Goto <shunichi.goto@gmail.com>:

BTW, there's many non-extracted words and badly fragmented phrases in i18n branch code due to lack of i18n:msg attributes although with latest babel/genshi. Current view is not good to use.

This issue is common to all translated language (i.e. the messages.pot file needs some improvements). Maybe it's time to start a thread on this topic on the trac-dev ML.

comment:12 Changed 10 years ago by Jeroen Ruigrok van der Werven

Component: generali18n

comment:13 Changed 10 years ago by Jeroen Ruigrok van der Werven

See #G129 for more details on what needs to be fixed.

comment:14 Changed 10 years ago by Kyosuke Takayama <support@…>

Cc: support@… added

I translated message.po of the i18n branch(r6950) from a file attached here.

However, a part of non-translation is still left a lot. I can go ahead little by little.

Changed 10 years ago by Kyosuke Takayama <support@…>

Attachment: messages.po.2.gz added

Japanese translation i18n branch r6950

comment:15 Changed 10 years ago by Jeroen Ruigrok van der Werven

Keywords: 日本語 added

高山さんのファイルありがとうございました。

I have committed it in r6956.

Changed 10 years ago by Kyosuke Takayama <support@…>

Attachment: messages.po added

Japanese translation from trunk r7087

comment:16 Changed 10 years ago by Jeroen Ruigrok van der Werven

Applied in r7138.

ありがとうございます。

comment:17 Changed 9 years ago by Christian Boos

Milestone: 0.130.12

Changed 9 years ago by IWAI, Masaharu <iwai@…>

Attachment: messages-r198.po added

Japanese translation based trunk r8057 messages.pot (Shibuya.trac 198r)

comment:18 Changed 9 years ago by IWAI, Masaharu <iwai@…>

Cc: iwai@… added

Japanese translation file based trunk r8057 messages.pot.

Translators are members in the Shibuya.trac. See http://svn.sourceforge.jp/view/contrib/trac0.12_locale/ja_JP.po?root=shibuya-trac&view=log .

comment:19 Changed 9 years ago by Jeroen Ruigrok van der Werven

いわいさん、あなたの翻訳はありがとうございました。

It is committed in r8085.

comment:20 Changed 9 years ago by Jeroen Ruigrok van der Werven

Oh, I marked three fuzzy that had only English in their msgstr. You might want to check them again.

comment:21 Changed 9 years ago by Kyosuke Takayama <support@…>

hi, it's been a long time. I fixed those fuzzy.

comment:22 Changed 9 years ago by Jeroen Ruigrok van der Werven

Hi Kyosuke,

ok, so you fixed them, but you did not provide a patch? :)

comment:23 in reply to:  22 Changed 9 years ago by IWAI, Masaharu <iwai@…>

Replying to jruigrok:

Hi Kyosuke,

ok, so you fixed them, but you did not provide a patch? :)

I get Kyosuke's fix in the another repository for Shibuya.trac. I update ja_JP messages.po based Kyosuke's files.

Changed 9 years ago by IWAI, Masaharu <iwai@…>

Attachment: messages-216r.ja.po added

Japanese translation based trunk r8118 messages.pot (Shibuya.trac 216r)

comment:24 Changed 9 years ago by Jeroen Ruigrok van der Werven

Committed in r8157. Thanks!

Changed 8 years ago by Kyosuke Takayama <support@…>

Attachment: messages-r251.ja.po added

Japanese translation based trunk r8244 messages.pot (Shibuya.trac r251)

Changed 8 years ago by Kyosuke Takayama <support@…>

Attachment: messages-r292.ja.po added

Japanese translation based trunk r8268 messages.pot (Shibuya.trac r292)

comment:25 Changed 8 years ago by Kyosuke Takayama <support@…>

Hi. I attached new pot based on r8268.(

comment:26 Changed 8 years ago by Jeroen Ruigrok van der Werven

Committed in r8387.

Changed 8 years ago by Kyosuke Takayama <loiseau@…>

Attachment: messages-r432.ja.po added

comment:27 Changed 8 years ago by Kyosuke Takayama <loiseau@…>

Japanese translation based trunk r8613 messages.pot (Shibuya.trac r432)

I uploaded new translation file. We are sorry to late it. and I changed email-addres to loiseau@ from support@. :D

Changed 8 years ago by Kyosuke Takayama <loiseau@…>

Attachment: messages-r460.ja.po added

Japanese translation based trunk r8633 messages.pot (Shibuya.trac r460)

comment:28 Changed 8 years ago by Jeroen Ruigrok van der Werven

Owner: Jeroen Ruigrok van der Werven deleted
Status: assignednew

comment:29 Changed 8 years ago by Christian Boos

Milestone: 0.12translations

Apparently attachment:messages-r460.ja.po was committed in r8824.

Part of a general rename of directories when the country code is not strictly necessary, I've rename trac/locale/ja_JP to trac/locale/ja, in r9088.

Changed 8 years ago by Jun Omae <jun66j5@…>

Attachment: messages-r644.ja.po added

Japanese translation based trunk r9456 messages.pot (Shibuya.trac@644)

comment:30 Changed 8 years ago by Jun Omae <jun66j5@…>

Hi, I attached japanese translation messages-r644.ja.po based trunk/trac/locale/messages.pot@9456. (Shibuya.trac ja_JP.po@644)

If you can, please commit the translation file.

comment:31 Changed 8 years ago by Jun Omae <jun66j5@…>

Cc: jun66j5@… added

comment:32 Changed 8 years ago by Christian Boos

Excellent! Thanks.

However, running msgfmt --check, I noticed a few issues:

$ msgfmt --check trac/locale/ja/LC_MESSAGES/messages.po
trac/locale/ja/LC_MESSAGES/messages.po:1423: 'msgstr' is not a valid Python format string, unlike 'msgid'. Reason: The character that terminates the directive number 1 is not a valid conversion specifier.
trac/locale/ja/LC_MESSAGES/messages.po:2181: a format specification for argument 'unit', as in 'msgstr[0]', doesn't exist in 'msgid'
trac/locale/ja/LC_MESSAGES/messages.po:2187: a format specification for argument 'unit', as in 'msgstr[0]', doesn't exist in 'msgid'
trac/locale/ja/LC_MESSAGES/messages.po:2193: a format specification for argument 'unit', as in 'msgstr[0]', doesn't exist in 'msgid'
trac/locale/ja/LC_MESSAGES/messages.po:2972: a format specification for argument 'change' doesn't exist in 'msgstr'
msgfmt: found 5 fatal errors

The three in the middle are known "generic" issues with all languages (#8588), but the other two are real mistakes:

  • trac/locale/ja/LC_MESSAGES/messages.po

    diff --git a/trac/locale/ja/LC_MESSAGES/messages.po b/trac/locale/ja/LC_MESSAGES/messages.po
    a b msgid ""  
    14211421"In your time zone %(tz)s, this would be displayed as\n"
    14221422"            [1:%(formatted)s]."
    14231423msgstr ""
    1424 "選択中のタイムゾーン %(tz) では [1:%(formatted)s] と表示されます。"
     1424"選択中のタイムゾーン %(tz)s では [1:%(formatted)s] と表示されます。"
    14251425
    14261426#: trac/prefs/templates/prefs_datetime.html:40
    14271427#, python-format
    msgstr "更新内容"  
    29692969msgid ""
    29702970"The %(change)s has been saved, but an error occurred while sending "
    29712971"notifications: %(message)s"
    2972 msgstr "チケットは変更しましたが、通知処理中にエラーが発生しました: %(message)s"
     2972msgstr "(%(change)s) チケットは変更しましたが、通知処理中にエラーが発生しました: %(message)s"
    29732973
    29742974#: trac/ticket/web_ui.py:1367
    29752975msgid "Add to Cc"

I've committed your patch plus the above fix (well, the second needs to be reworked obviously) as r9468.

And I should probably add a note about using msgfmt --check in TracL10N

Changed 8 years ago by Jun Omae <jun66j5@…>

Attachment: messages-r645.ja.po added

Japanese translation based trunk r9456 messages.pot (Shibuya.trac@645)

comment:33 Changed 8 years ago by Jun Omae <jun66j5@…>

Thanks for your commit and fixes.

I attached japanese translation messages-r645.ja.po that the second fix are reworked. From next time, I check the translation using msgfmt -c command.

comment:34 Changed 8 years ago by Christian Boos

Committed in [9469], thanks!

Changed 8 years ago by Jun Omae <jun66j5@…>

Attachment: messages-ja-r9469.diff added

Japanese translations patch for r9469

comment:35 Changed 8 years ago by Jun Omae <jun66j5@…>

Hi, I attached japanese translations patch messages-ja-r9469.diff for r9469. If you can, please apply the patch.

comment:36 Changed 8 years ago by Christian Boos

Done in [9475].

comment:37 Changed 8 years ago by Christian Boos

I applied the latest contribution from Jun Omae in [9547].

However, among the 4 mails I got, 3 contained identical messages.po, and the last one differed in the following way:

  • messages.po

     
    42744274msgstr ""
    42754275"リビジョン [1:%(rev)s],\n"
    42764276"            [2:%(size)s]\n"
    4277 "            更新者 %(author)s, %(date)s \n"
     4277"            更新者 %(author)s, %(date)s ago\n"
    42784278"            ([3:diff])"
    42794279
    42804280#: trac/versioncontrol/templates/browser.html:140

which looks like an error to me, so I didn't apply the change.

comment:38 in reply to:  37 Changed 8 years ago by Jun Omae <jun66j5@…>

Replying to cboos:

However, among the 4 mails I got, 3 contained identical messages.po, and the last one differed in the following way:

  • messages.po

     
    42744274msgstr ""
    42754275"リビジョン [1:%(rev)s],\n"
    42764276"            [2:%(size)s]\n"
    4277 "            更新者 %(author)s, %(date)s \n"
     4277"            更新者 %(author)s, %(date)s ago\n"
    42784278"            ([3:diff])"
    42794279
    42804280#: trac/versioncontrol/templates/browser.html:140

which looks like an error to me, so I didn't apply the change.

Sorry about multiple uploads and your confusing.

The last one is correct. Please apply the change, if you can.

comment:39 Changed 8 years ago by Remy Blank

Owner: set to Jun Omae

comment:40 Changed 5 years ago by Christian Boos

From Transifex for 1.0.1dev:

@@ -1390,7 +1357,7 @@

 msgid ""
 "The module prefix used in the `authz_file` for the default\n"
 "repository. If left empty, the global section is used."
-msgstr "`authz_file` で使うデフォルトのリポジトリに対応するモジュール名を指定します。空の場合はグローバルセクションを使用します。"
+msgstr "`authz_file` に対するデフォルトのリポジトリのモジュール名を指定します。空の場合はグローバルセクションを使用します。"

keep or discard?

comment:41 in reply to:  40 Changed 5 years ago by Jun Omae

Replying to cboos:

From Transifex for 1.0.1dev: […] keep or discard?

Discard. The catalog at our repository is latest. I just pushed to Transifex. Thanks for letting me know.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain Jun Omae.
The ticket will be disowned.
as The resolution will be set.
The owner will be changed from Jun Omae to anonymous.

Add Comment


E-mail address and name can be saved in the Preferences .

 
Note: See TracTickets for help on using tickets.