<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi Colin,</p>
<p>I have actually rewritten everything so that we can use only 1
JSON:</p>
<p><a class="moz-txt-link-freetext" href="https://oniongit.eu/infra/portal/blob/master/databags/menu.json">https://oniongit.eu/infra/portal/blob/master/databags/menu.json</a></p>
<p>I thought in the beginning it was more convenient to have files
separated like that, but since transifex is ok w/ JSON this is
also better for me.</p>
<p>I hope this helps.</p>
<p>-hiro<br>
</p>
<br>
<div class="moz-cite-prefix">On 12/01/18 11:49, Silvia [Hiro] wrote:<br>
</div>
<blockquote type="cite"
cite="mid:80b7f352-8a20-0a5e-0d0d-911d816e1de2@torproject.org">
<pre wrap="">Hi Phoul,
All the databags are in JSON now.
-hiro
On 12/01/18 09:11, Colin Childs wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi Hiro,
Shouldn't interfere. However, I am seeing an issue with these files on
Transifex, and am investigating to see what is causing it.
Currently, uploading the menu.ini results in only the first entry
appearing (/about). Looking at Lektor docs, it looks like it may be
possible to use json for these entries? If so, that may work better for
our translation process, as I know for certain Transifex has fairly
robust json support.
I will continue testing with the ini file for now, as its possible there
is some issue with the way its reading the "path = " entries, and
assuming they are all the same value. This might be something we can
resolve in some way that isn't switching to json.
Thanks!
On 2018-01-12 01:41 AM, Silvia [Hiro] wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hey all,
I just wanted to let you know that I had to change the internationalized
menus a bit in the support portal. I hope this doesn't interfere w/ your
test Phoul.
Now I am using 2 files instead of one:
- For the menu items and paths:
<a class="moz-txt-link-freetext" href="https://oniongit.eu/infra/portal/blob/master/databags/menu.ini">https://oniongit.eu/infra/portal/blob/master/databags/menu.ini</a>
- For the translated labels:
<a class="moz-txt-link-freetext" href="https://oniongit.eu/infra/portal/blob/master/databags/menu-alt.ini">https://oniongit.eu/infra/portal/blob/master/databags/menu-alt.ini</a>
If we want to translate the paths we will have another file for the paths.
That's all, all the rest stays the same.
-hiro
</pre>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
<pre wrap="">
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
UX mailing list
<a class="moz-txt-link-abbreviated" href="mailto:UX@lists.torproject.org">UX@lists.torproject.org</a>
<a class="moz-txt-link-freetext" href="https://lists.torproject.org/cgi-bin/mailman/listinfo/ux">https://lists.torproject.org/cgi-bin/mailman/listinfo/ux</a>
</pre>
</blockquote>
<br>
</body>
</html>