<div dir="ltr"><div>Hi,<br></div><div><br></div><div>I'm not sure I understand what you want to do:</div><div>1) do you want to compile all the .po files for ast from the svn?</div><div>-> use msgfmt if you want a .mo or lconvert if you want a .qm<br></div><div><br></div><div>2) do you want to only compile .po files from a git repository?<br></div><div>In the folder, create a build folder ("mkdir build"), then in the folder ("cd build"), run "cmake ..". Then, you can run "make translations" that will build all the translation files.</div><div><br></div><div>Cheers,</div><div><br></div><div>Johnny</div><div><br></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le dim. 14 mai 2023 à 18:58, Enol P. <<a href="mailto:enolp@softastur.org">enolp@softastur.org</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u>
<div>
<div>
Hi,
</div>
<div>
</div>
<div>
The problem is I'm not a developer, just a translator so I don't understand this doc
</div>
<blockquote type="cite">
<div>
El 14/05/2023 17:50 CEST Johnny Jazeix <<a href="mailto:jazeix@gmail.com" target="_blank">jazeix@gmail.com</a>> escribió:
</div>
<div>
</div>
<div>
</div>
<div dir="ltr">
<a href="https://api.kde.org/ecm/module/ECMPoQmTools.html" target="_blank">https://api.kde.org/ecm/module/ECMPoQmTools.html</a>
</div>
<br>
<div class="gmail_quote">
<div class="gmail_attr" dir="ltr">
Le dim. 14 mai 2023 à 17:47, Enol P. <<a href="mailto:enolp@softastur.org" target="_blank">enolp@softastur.org</a>> a écrit :
</div>
<blockquote>
<u></u>
<div>
<div>
Hi,
</div>
<div>
</div>
<div>
As I can remember, po files could also be built using cmake and installed in their correct location. This is the way I used to use.
</div>
<blockquote type="cite">
<div>
El 14/05/2023 9:26 CEST Johnny Jazeix <<a href="mailto:jazeix@gmail.com" rel="noopener" target="_blank">jazeix@gmail.com</a>> escribió:
</div>
<div>
</div>
<div>
</div>
<div dir="ltr">
<div dir="ltr">
</div>
<br>
<div class="gmail_quote">
<div class="gmail_attr" dir="ltr">
Le sam. 13 mai 2023 à 23:57, Enol P. <<a href="mailto:enolp@softastur.org" rel="noopener" target="_blank">enolp@softastur.org</a>> a écrit :
</div>
<blockquote>
<div>
<div>
Hi everyone,
</div>
<div>
</div>
<div>
Long time ago I made an script to build ast locale translations but I've lost it, and I forgot all commands to execute. However, I couldn't find any information about this online.
</div>
<div>
</div>
<div>
I appreciate if someone can send me all necessary instructions to build translations.
</div>
</div>
</blockquote>
<div>
</div> Hi,
<br>to compile .po file to .mo file:
<br> msgfmt file.po -o file.mo
<br>
<br>to compile to .qm file:
<br> lconvert -if po -of ts -i file.po -o file.ts
<br> lrelease -compress -nounfinished file.ts -qm file.qm
</div>
<div class="gmail_quote">
</div>
<div class="gmail_quote">
</div>
<div class="gmail_quote">
(from the doc, <a href="https://www.gnu.org/software/gettext/manual/html_node/msgfmt-Invocation.html" rel="noopener" target="_blank">https://www.gnu.org/software/gettext/manual/html_node/msgfmt-Invocation.html</a>, it seems we can get a .qm directly using "msgfmt --qt file.po -o file.qm" but I haven't tested it so I'm not sure of the differences)
</div>
<div class="gmail_quote">
Depending on your OS, msgfmt is in the gettext package, lconvert/lrelease in qttools.
<br>
<br>Cheers,
<br>Johnny
</div>
<div class="gmail_quote">
</div>
</div>
</blockquote>
</div>
</blockquote>
</div>
</blockquote>
</div>
</blockquote></div></div>