<div dir="ltr"><div><div><div><div><div>Hi Jeff,<br><br></div>The changes are in the repository and  the branch 6.4 e.g <a href="https://github.com/mapserver/docs/commit/366f954b59bcc18ea6ae37b1bb60342f9c23cb5c" target="_blank">https://github.com/mapserver/docs/commit/366f954b59bcc18ea6ae37b1bb60342f9c23cb5c</a> so it's already updated.<br>


</div>I suppose there is a problem with deployment.<br>The first problem is I see the version of Sphinx is outdated on the server (1.1.2 instead of 1.2b3, the bottom page of <a href="http://mapserver.org" target="_blank">mapserver.org</a> says "      Created using <a href="http://sphinx.pocoo.org/" target="_blank">Sphinx</a> 1.1.2.
    ")<br></div>Can you also see if in the server, you have in the clone from git, in translated/fr/LC_MESSAGES/ a bunch of *.mo files indicating that gettext is working well using Sphinx?<br><br></div>Cheers<br><br>


</div>ThomasG<br><div><div><br><br> <br><div><br><br></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/12/9 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">Hello ThomasG,<br>
<br>
When you mention that you updated the build script<br>
(<a href="https://github.com/mapserver/docs/blob/branch-6-4/scripts/build_docs.sh" target="_blank">https://github.com/mapserver/docs/blob/branch-6-4/scripts/build_docs.sh</a>) what<br>
changes need to be made?  Or maybe you can commit your changes?  I can<br>
then test on the server.<br>
<br>
-jeff<br>
<div class="im"><br>
<br>
<br>
<br>
<br>
On 2013-12-07 5:28 PM, Thomas Gratier wrote:<br>
> Hi,<br>
><br>
</div><div class="im">> Thanks for merging my branch for internationalization.<br>
> It seems you already found an answer about the build on Windows in the<br>
> issues on Github.<br>
> I have another problem: the deployment is not working in production.<br>
> When I checkout the branch 6-4 of the docs<br>
> <a href="https://github.com/mapserver/docs/tree/branch-6-4" target="_blank">https://github.com/mapserver/docs/tree/branch-6-4</a> and do the<br>
><br>
> make compile_messages<br>
> make html<br>
><br>
> like in the script to deploy I updated<br>
> <a href="https://github.com/mapserver/docs/blob/branch-6-4/scripts/build_docs.sh" target="_blank">https://github.com/mapserver/docs/blob/branch-6-4/scripts/build_docs.sh</a><br>
> it works locally for example in the root of fr generated doc.<br>
><br>
> When I go to the <a href="http://mapserver.org/fr/index.html" target="_blank">http://mapserver.org/fr/index.html</a>, the content is<br>
> always in English.<br>
> I supposed it can come from two things: the outdated version of Sphinx<br>
> on the server or/and the missing gettext packages<br>
><br>
> As I don't have access to the MapServer hosting machine, thanks for your<br>
> feedback about my concern<br>
><br>
> Cheers<br>
><br>
> Thomas Gratier<br>
><br>
><br>
><br>
> 2013/12/4 Jeff McKenna <<a href="mailto:jmckenna@gatewaygeomatics.com">jmckenna@gatewaygeomatics.com</a><br>
</div>> <mailto:<a href="mailto:jmckenna@gatewaygeomatics.com">jmckenna@gatewaygeomatics.com</a>>><br>
<div class="HOEnZb"><div class="h5">><br>
>     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>
><br>
>     -jeff<br>
><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<br>
>     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<br>
>     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<br>
>     /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<br>
>     can go<br>
>     >>> to my repository <a href="https://github.com/ThomasG77/docs.git" target="_blank">https://github.com/ThomasG77/docs.git</a> and<br>
>     checkout my<br>
>     >>> branch branch-6-4-i18n-with-po<br>
>     >>> After, do the usual build (you need the latest Sphinx version)<br>
>     with make<br>
>     >>> html to see the documentation content about documentation.<br>
>     >>> Then, follow the instructions you have in the built html to<br>
>     enable the<br>
>     >>> i18n translation process.<br>
>     >>><br>
>     >>> If you have any feedbacks, you can do it via a Github issue , a<br>
>     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>