[prev in list] [next in list] [prev in thread] [next in thread] 

List:       trac
Subject:    Re: [Trac] Re: German locale missing in trac pip installation
From:       RjOllos <rjollos () gmail ! com>
Date:       2019-07-16 22:07:39
Message-ID: 0ce335c6-b4a6-4657-97e3-05deb10bff6e () googlegroups ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Wednesday, December 12, 2018 at 2:17:48 PM UTC-8, RjOllos wrote:
> 
> 
> 
> On Wednesday, November 14, 2018 at 9:42:49 AM UTC-5, Jun Omae wrote:
> > 
> > On Wed, Nov 14, 2018 at 8:32 AM RjOllos <rjollos@gmail.com> wrote: 
> > > 
> > > On Saturday, November 10, 2018 at 8:08:16 AM UTC-8, Michael Fritzsch 
> > wrote: 
> > > > 
> > > > Hi all, 
> > > > 
> > > > I recently installed trac via pip (first, 'pip install Babel --user', 
> > then 'pip install trac --user'). The installation contains 35 localizations 
> > in trac/locale/, but German is missing. Does anyone have an idea of the 
> > root cause and how to add the German locale? 
> > > > 
> > > > I also uninstalled trac and babel and reinstalled both (always babel 
> > first, then trac) without any changes. 
> > > > 
> > > > Kind regards, 
> > > > Michael 
> > > 
> > > 
> > > Confirmed. When I recreate the wheel or tar.gz archive the DE locale is 
> > included, so I'm not sure what happened in the 1.2.3 release. 
> > > 
> > > I've made a note to check that the DE locale is included in the 1.2.4 
> > release. I hope to get that done either this weekend or the following. 
> > > https://trac.edgewall.org/ticket/13059#comment:4 
> > > 
> > > Thank you for reporting. 
> > 
> > All of DE message catalogs are marked as fuzzy. Fuzzy messages should 
> > be resolved/removed to include compile catalogs. 
> > 
> > $ git checkout trac-1.2.3 
> > .... 
> > $ make compile-de 
> > python  setup.py  compile_catalog -l de  compile_catalog_js -l de 
> > compile_catalog_tracini -l de \ 
> > generate_messages_js -l de 
> > running compile_catalog 
> > catalog trac/locale/de/LC_MESSAGES/messages.po is marked as fuzzy, 
> > skipping 
> > running compile_catalog_js 
> > catalog trac/locale/de/LC_MESSAGES/messages-js.po is marked as fuzzy, 
> > skipping 
> > running compile_catalog_tracini 
> > catalog trac/locale/de/LC_MESSAGES/tracini.po is marked as fuzzy, 
> > skipping 
> > running generate_messages_js 
> > generating messages javascript 
> > 'trac/locale/de/LC_MESSAGES/messages-js.mo' to 
> > 'trac/htdocs/js/messages/de.js' 
> > 
> > However, stats-* task cannot detect fuzzy messages in messages-js.po 
> > and tracini.po catalogs. 
> > 
> > $ make stats-de 
> > trac/locale/de/LC_MESSAGES/messages.po: 1406 translated messages, 12 
> > fuzzy translations, 14 untranslated messages. 
> > trac/locale/de/LC_MESSAGES/messages-js.po: 54 translated messages. 
> > trac/locale/de/LC_MESSAGES/tracini.po: 61 translated messages, 136 
> > untranslated messages. 
> > 
> 
> The fuzzy markers were introduced when I pulled the latest catalogs from 
> Transifex in r16152.
> https://trac.edgewall.org/changeset/16152
> 
> What do the "fuzzy" markers at the top of the file mean? I understand why 
> a string would be marked fuzzy, but unsure about the fuzzy marker at the 
> top of the file.
> 
> I pulled the latest changes from Transifex again and the only fuzzy marker 
> in each file was at the very top of the file. Prior to pull the latest 
> changes from Transifex there were 11 other fuzzy markers in the messages.po.
> 
> Would I be making the situation any worse by just removing the fuzzy 
> markers at the top of the file, as in these changes?:
> 
> 
> https://trac.edgewall.org/log/rjollos.git/?rev=e85f3ff4a938b3835190d1fe6f05765a85c3665d
>  
> - Ryan
> 


I pulled the latest DE catalogs from Transifex for the release:
https://trac.edgewall.org/changeset/16959

Could someone please test the changes?

If you make changes on Transifex, please let me know and I can pull changes 
again. I'd like to get all the catalogs pulled, but I need translators to 
review and be sure I'm doing it correctly.

Thanks,
- Ryan

-- 
You received this message because you are subscribed to the Google Groups "Trac \
Users" group. To unsubscribe from this group and stop receiving emails from it, send \
an email to trac-users+unsubscribe@googlegroups.com. To post to this group, send \
email to trac-users@googlegroups.com. Visit this group at \
https://groups.google.com/group/trac-users. To view this discussion on the web visit \
https://groups.google.com/d/msgid/trac-users/0ce335c6-b4a6-4657-97e3-05deb10bff6e%40googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


[Attachment #5 (text/html)]

<div dir="ltr"><br><br>On Wednesday, December 12, 2018 at 2:17:48 PM UTC-8, RjOllos \
wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: \
0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr"><br><br>On \
Wednesday, November 14, 2018 at 9:42:49 AM UTC-5, Jun Omae wrote:<blockquote \
class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc \
solid;padding-left:1ex">On Wed, Nov 14, 2018 at 8:32 AM RjOllos &lt;<a \
href="mailto:rjollos@gmail.com" rel="nofollow" target="_blank" \
onmousedown="this.href=&#39;mailto:rjollos@gmail.com&#39;;return true;" \
onclick="this.href=&#39;mailto:rjollos@gmail.com&#39;;return \
true;">rjollos@gmail.com</a>&gt; wrote: <br>&gt;
<br>&gt; On Saturday, November 10, 2018 at 8:08:16 AM UTC-8, Michael Fritzsch wrote:
<br>&gt;&gt;
<br>&gt;&gt; Hi all,
<br>&gt;&gt;
<br>&gt;&gt; I recently installed trac via pip (first, &#39;pip install Babel \
--user&#39;, then &#39;pip install trac --user&#39;). The installation contains 35 \
localizations in trac/locale/, but German is missing. Does anyone have an idea of the \
root cause and how to add the German locale? <br>&gt;&gt;
<br>&gt;&gt; I also uninstalled trac and babel and reinstalled both (always babel \
first, then trac) without any changes. <br>&gt;&gt;
<br>&gt;&gt; Kind regards,
<br>&gt;&gt; Michael
<br>&gt;
<br>&gt;
<br>&gt; Confirmed. When I recreate the wheel or tar.gz archive the DE locale is \
included, so I&#39;m not sure what happened in the 1.2.3 release. <br>&gt;
<br>&gt; I&#39;ve made a note to check that the DE locale is included in the 1.2.4 \
release. I hope to get that done either this weekend or the following. <br>&gt; <a \
href="https://trac.edgewall.org/ticket/13059#comment:4" rel="nofollow" \
target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2 \
F%2Ftrac.edgewall.org%2Fticket%2F13059%23comment%3A4\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFQCLBiPKwBS8q-Z3z8pKtZb93CGA&#39;;return \
true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Ftrac.edge \
wall.org%2Fticket%2F13059%23comment%3A4\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFQCLBiPKwBS8q-Z3z8pKtZb93CGA&#39;;return \
true;">https://trac.edgewall.org/<wbr>ticket/13059#comment:4</a> <br>&gt;
<br>&gt; Thank you for reporting.
<br>
<br>All of DE message catalogs are marked as fuzzy. Fuzzy messages should
<br>be resolved/removed to include compile catalogs.
<br>
<br>$ git checkout trac-1.2.3
<br>....
<br>$ make compile-de
<br>python   setup.py   compile_catalog -l de   compile_catalog_js -l de
<br>compile_catalog_tracini -l de \
<br>      generate_messages_js -l de
<br>running compile_catalog
<br>catalog trac/locale/de/LC_MESSAGES/<wbr>messages.po is marked as fuzzy, skipping
<br>running compile_catalog_js
<br>catalog trac/locale/de/LC_MESSAGES/<wbr>messages-js.po is marked as fuzzy, \
skipping <br>running compile_catalog_tracini
<br>catalog trac/locale/de/LC_MESSAGES/<wbr>tracini.po is marked as fuzzy, skipping
<br>running generate_messages_js
<br>generating messages javascript
<br>&#39;trac/locale/de/LC_MESSAGES/<wbr>messages-js.mo&#39; to
<br>&#39;trac/htdocs/js/messages/de.<wbr>js&#39;
<br>
<br>However, stats-* task cannot detect fuzzy messages in messages-js.po
<br>and tracini.po catalogs.
<br>
<br>$ make stats-de
<br>trac/locale/de/LC_MESSAGES/<wbr>messages.po: 1406 translated messages, 12
<br>fuzzy translations, 14 untranslated messages.
<br>trac/locale/de/LC_MESSAGES/<wbr>messages-js.po: 54 translated messages.
<br>trac/locale/de/LC_MESSAGES/<wbr>tracini.po: 61 translated messages, 136
<br>untranslated messages.
<br></blockquote><div><br></div><div>The fuzzy markers were introduced when I pulled \
the latest catalogs from Transifex in r16152.</div><div><a \
href="https://trac.edgewall.org/changeset/16152" target="_blank" rel="nofollow" \
onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Ftrac.edgewal \
l.org%2Fchangeset%2F16152\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFtqFDqWIK7jOcDjycKa1l1EHbiIQ&#39;;return \
true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Ftrac.edge \
wall.org%2Fchangeset%2F16152\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFtqFDqWIK7jOcDjycKa1l1EHbiIQ&#39;;return \
true;">https://trac.edgewall.org/<wbr>changeset/16152</a></div><div><br></div><div>What \
do the &quot;fuzzy&quot; markers at the top of the file mean? I understand why a \
string would be marked fuzzy, but unsure about the fuzzy marker at the top of the \
file.<br></div><div><br></div><div>I pulled the latest changes from Transifex again \
and the only fuzzy marker in each file was at the very top of the file. Prior to pull \
the latest changes from Transifex there were 11 other fuzzy markers in the \
messages.po.</div><div><br></div><div>Would I be making the situation any worse by \
just removing the fuzzy markers at the top of the file, as in these \
changes?:</div><div><br></div><div><a \
href="https://trac.edgewall.org/log/rjollos.git/?rev=e85f3ff4a938b3835190d1fe6f05765a85c3665d" \
target="_blank" rel="nofollow" \
onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Ftrac.edgewal \
l.org%2Flog%2Frjollos.git%2F%3Frev%3De85f3ff4a938b3835190d1fe6f05765a85c3665d\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHSN5NIl0n35z7Xr7z-wUeMioYDxg&#39;;return \
true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Ftrac.edge \
wall.org%2Flog%2Frjollos.git%2F%3Frev%3De85f3ff4a938b3835190d1fe6f05765a85c3665d\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHSN5NIl0n35z7Xr7z-wUeMioYDxg&#39;;return \
true;">https://trac.edgewall.org/log/<wbr>rjollos.git/?rev=<wbr>e85f3ff4a938b3835190d1fe6f0576<wbr>5a85c3665d</a></div><div><br></div><div>- \
Ryan<br></div></div></blockquote><div><br></div><div><br></div><div>I pulled the \
latest DE catalogs from Transifex for the \
release:</div><div>https://trac.edgewall.org/changeset/16959<br></div><div><br></div><div>Could \
someone please test the changes?</div><div><br></div><div>If you make changes on \
Transifex, please let me know and I can pull changes again. I&#39;d like to get all \
the catalogs pulled, but I need translators to review and be sure I&#39;m doing it \
correctly.<br></div><div><br></div><div>Thanks,</div><div>- Ryan<br></div></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &quot;Trac \
Users&quot; group.<br /> To unsubscribe from this group and stop receiving emails \
from it, send an email to <a \
href="mailto:trac-users+unsubscribe@googlegroups.com">trac-users+unsubscribe@googlegroups.com</a>.<br \
/> To post to this group, send email to <a \
href="mailto:trac-users@googlegroups.com">trac-users@googlegroups.com</a>.<br /> \
Visit this group at <a \
href="https://groups.google.com/group/trac-users">https://groups.google.com/group/trac-users</a>.<br \
/> To view this discussion on the web visit <a \
href="https://groups.google.com/d/msgid/trac-users/0ce335c6-b4a6-4657-97e3-05deb10bff6 \
e%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/trac-users/0ce335c6-b4a6-4657-97e3-05deb10bff6e%40googlegroups.com</a>.<br \
/> For more options, visit <a \
href="https://groups.google.com/d/optout">https://groups.google.com/d/optout</a>.<br \
/>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic