<div dir="ltr"><div><div><div><div><div><div><div><div>Hi,<br><br>Thanks for merging my branch for internationalization.<br>It seems you already found an answer about the build on Windows in the issues on Github.<br></div>

I have another problem: the deployment is not working in production.<br>When I checkout the branch 6-4 of the docs <a href="https://github.com/mapserver/docs/tree/branch-6-4">https://github.com/mapserver/docs/tree/branch-6-4</a> and do the<br>

</div><br>make compile_messages<br></div>make html<br><br></div>like in the script to deploy I updated <a href="https://github.com/mapserver/docs/blob/branch-6-4/scripts/build_docs.sh">https://github.com/mapserver/docs/blob/branch-6-4/scripts/build_docs.sh</a><br>

</div>it works locally for example in the root of fr generated doc.<br><br></div>When I go to the <a href="http://mapserver.org/fr/index.html">http://mapserver.org/fr/index.html</a>, the content is always in English.<br>
</div>
I supposed it can come from two things: the outdated version of Sphinx on the server or/and the missing gettext packages<br><br></div><div>As I don't have access to the MapServer hosting machine, thanks for your feedback about my concern<br>

</div><div><div><br></div><div>Cheers<br><br></div><div>Thomas Gratier<br></div><div><div><br></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/12/4 Jeff McKenna <span dir="ltr"><<a href="mailto:jmckenna@gatewaygeomatics.com" target="_blank">jmckenna@gatewaygeomatics.com</a>></span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi ThomasG,<br>
<br>
The following command does work here for me:<br>
<br>
  make compile_messages fr<br>
<br>
Not sure if we should change the documentation steps to that or not.<br>
<br>
Awaiting your advice.<br>
<span class="HOEnZb"><font color="#888888"><br>
-jeff<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
<br>
On 2013-12-04 3:49 PM, Jeff McKenna wrote:<br>
> Hi ThomasG,<br>
><br>
> Some more feedback for you on this issue:<br>
><br>
> - calling the python script directly generates the .mo files correctly<br>
> (python i18n_win.py --lang fr)<br>
><br>
> - if I print out the current working dir in i18n_win.py before<br>
> msgfmt.make I get:<br>
><br>
>   translated\-e<br>
><br>
> So I think the options in "make compile_messages -e TRANSLATIONI18N=fr"<br>
> is having trouble on Windows.<br>
><br>
> Thoughts?<br>
><br>
> -jeff<br>
><br>
><br>
><br>
> On 2013-12-04 2:14 PM, Jeff McKenna wrote:<br>
>> Hi ThomasG,<br>
>><br>
>> I'm testing/building your branch 'branch-6-4-i18n-with-po' now.  I've<br>
>> checked out your branch and am following your updates/steps in<br>
>> documentation.txt<br>
>><br>
>> I'm having trouble at the step where I believe the .mo files should be<br>
>> generated.  On windows, I am getting the following messages:<br>
>><br>
>>   make compile_messages -e TRANSLATIONI18N=fr<br>
>><br>
>>     No such file or directory: 'LC_MESSAGES\\about.mo'<br>
>>     No such file or directory: 'LC_MESSAGES\\announcements_all.mo'<br>
>>     ...<br>
>><br>
>> Indeed there are no .mo files in the folder /translated/fr/LC_MESSAGES/<br>
>><br>
>> (.po files do exist in /translated/fr/)<br>
>><br>
>> Maybe I have missed a step?  Let me know what you think.<br>
>><br>
>> -jeff<br>
>><br>
>><br>
>><br>
>> On 2013-10-12 2:24 PM, Thomas Gratier wrote:<br>
>>> Hi,<br>
>>><br>
>>> It's done. Before i submit another PR for the documentation, you can go<br>
>>> to my repository <a href="https://github.com/ThomasG77/docs.git" target="_blank">https://github.com/ThomasG77/docs.git</a> and checkout my<br>
>>> branch branch-6-4-i18n-with-po<br>
>>> After, do the usual build (you need the latest Sphinx version) with make<br>
>>> html to see the documentation content about documentation.<br>
>>> Then, follow the instructions you have in the built html to enable the<br>
>>> i18n translation process.<br>
>>><br>
>>> If you have any feedbacks, you can do it via a Github issue , a PR or in<br>
>>> this thread.<br>
>>> At the end, when everything will be Ok, I will make a new PR from my<br>
>>> branch, for the documentation on documentation process.<br>
>>><br>
>>> Regards<br>
>>><br>
>>> Thomas Gratier<br>
<br>
_______________________________________________<br>
mapserver-dev mailing list<br>
<a href="mailto:mapserver-dev@lists.osgeo.org">mapserver-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-dev</a><br>
</div></div></blockquote></div><br></div>