<div dir="ltr">Hi, <div><br></div><div>I was a little bit fast when sending the last mail.</div><div><br></div><div>My question/comment is , in addition to the last question/mail . </div><div>In explanations on <a href="https://github.com/3liz/lizmap-javascript-scripts/tree/master/library/translation/qgis_project">lizmap-javascript-scripts/library/translation/qgis_project at master · 3liz/lizmap-javascript-scripts · GitHub</a> it says "<span style="color:rgb(36,41,47);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:16px">The json files must be saved in the </span><code style="box-sizing:border-box;font-family:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,"Liberation Mono",monospace;font-size:13.6px;padding:0.2em 0.4em;margin:0px;border-radius:6px;color:rgb(36,41,47)">media</code><span style="color:rgb(36,41,47);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:16px"> folder which needs to be available from the web. Therefore, it is necessary to create a symbolic link on the apache directory (e.g. </span><code style="box-sizing:border-box;font-family:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,"Liberation Mono",monospace;font-size:13.6px;padding:0.2em 0.4em;margin:0px;border-radius:6px;color:rgb(36,41,47)">/var/www/html/</code><span style="color:rgb(36,41,47);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:16px">) to the media folder in the user repository</span><span style="color:rgb(36,41,47);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:16px">"</span></div><div><span style="color:rgb(36,41,47);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:16px"><br></span></div><div><span style="color:rgb(36,41,47);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"">I am guessing this should be added under "modify lizmap generic configuration" - "Repository", however I am not seeing this under my own "modify lizmap generic configuration". I am having though HOSTING plan on lizmap so therefore i cant change Lizmap configuration- Repository. to input link to the javascript (in media folder)</span></div><div><span style="color:rgb(36,41,47);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji""><br></span></div><div><span style="color:rgb(36,41,47);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"">In my case, I estimate, it would be enough to just save this javascript file to the MEDIA folder so translations registered with  </span><span style="color:rgb(36,41,47);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:1.25em">get_translatable_string.py </span><span style="color:rgb(36,41,47);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"">are  actually translated .</span></div><div><span style="color:rgb(36,41,47);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji""><br></span></div><div><font color="#24292f" face="-apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji">would be good to hear comments about this</font></div><div><span style="color:rgb(36,41,47);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji""><br></span></div><div><br></div><div><span style="color:rgb(36,41,47);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"">best regards</span></div><div><span style="color:rgb(36,41,47);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji""><br></span></div><div><br></div><div><br></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">---------- Forwarded message ---------<br>Šalje: <strong class="gmail_sendername" dir="auto">Marin M</strong> <span dir="auto"><<a href="mailto:marin.mirosevic@gmail.com" target="_blank">marin.mirosevic@gmail.com</a>></span><br>Date: uto, 16. kol 2022. u 09:51<br>Subject: lizmap. translation of project specific file names<br>To:  <<a href="mailto:lizmap@lists.osgeo.org" target="_blank">lizmap@lists.osgeo.org</a>><br></div><br><br><div dir="ltr">hi,<div><br></div><div>I want to achieve automatic translation of project specific file names which are in a scandinavian language (mostly vector and raster names) to English.</div><div><br></div><div>I have used this python script attached </div><div><a href="https://github.com/3liz/lizmap-javascript-scripts/tree/master/library/translation/qgis_project" target="_blank">lizmap-javascript-scripts/library/translation/qgis_project at master · 3liz/lizmap-javascript-scripts · GitHub</a> </div><div><br></div><div><a title="get_translatable_string.py" href="https://github.com/3liz/lizmap-javascript-scripts/blob/master/library/translation/qgis_project/get_translatable_string.py" style="box-sizing:border-box;outline:none;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px;white-space:nowrap" target="_blank">get_translatable_string.py</a><br></div><div><br></div><div>After running the  python script in QGIS I am getting these 2 files, in the media folder, then after editing "translation_en.json" to determine english equivalents, the project is transferred to the Lizmap folder, created on Filezilla and enabled on the web client.</div><div><br></div><div><img src="cid:ii_l6vve77y0" alt="image.png" width="203" height="72" style="margin-right:0px"><br></div><div><br></div><div>However I am not seeing anything translated to English even though my Edge browser  supports english.</div><div><br></div><div>Is there maybe some addition needed to the URL connected to Web Lizmap project, to be added like for ex. «?lang=US_en» ?</div><div><br></div><div><img src="cid:ii_l6vvmgzk1" alt="image.png" width="445" height="124" style="margin-right:0px"><br></div><div><br></div><div>best regards</div><div><br></div><div>Marin Mirosevic</div><div><br></div></div>
</div></div></div>