Re: [Therion] Exporting lists - translation not there?
Yes indeed, i currently use a sed command to automate this. However it remains a hacky workaround. Am 2017-03-12 10:32, schrieb Martin Sluka via Therion: Beni, there is quite simple to change English headers to German ones directly in HTML code. A bit dirty way. m.s. 11. 3. 2017 v 21:41, Benedikt Hallinger via Therion: Same result. I dont know much C, however if i peek into thexptable.cxx, it seems that there are only fixed strings put into the output. It seems the translate-method is not invoked, thus no language settings/translations can be applied. If someone would add the needed calls, i would happily provide "de" translations for it :) Am 2017-03-11 21:59, schrieb Bruce Mutton via Therion: You caught me out Benedict! Unfortunately that didn't work. The layout command yields the error: therion: error -- thconfig [8] -- unknown option -- "-layout-language" I did try to add a different language to another project, and I could not get any non-english output of any type, using both the method above, and Martin's suggestion. Actually I put the language de inside of a layout that was called by the export, rather than with a -layout-language option. Bruce ___ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion ___ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion ___ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion ___ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
Re: [Therion] Exporting lists - translation not there?
Beni, there is quite simple to change English headers to German ones directly in HTML code. A bit dirty way. m.s. > 11. 3. 2017 v 21:41, Benedikt Hallinger via Therion: > > Same result. > > I dont know much C, however if i peek into thexptable.cxx, it seems that > there are only fixed strings put into the output. It seems the > translate-method is not invoked, thus no language settings/translations can > be applied. > > If someone would add the needed calls, i would happily provide "de" > translations for it :) > > > > Am 2017-03-11 21:59, schrieb Bruce Mutton via Therion: >> You caught me out Benedict! >> >>> Unfortunately that didn't work. >>> The layout command yields the error: >>> therion: error -- thconfig [8] -- unknown option -- "-layout-language" >> >>> I did try to add a different language to another project, and I could not >>> get any non-english output of any type, using both the method above, and >>> Martin's suggestion. >> >> Actually I put the language de inside of a layout that was called by the >> export, rather than with a -layout-language option. >> Bruce >> >> ___ >> Therion mailing list >> Therion@speleo.sk >> https://mailman.speleo.sk/listinfo/therion > > ___ > Therion mailing list > Therion@speleo.sk > https://mailman.speleo.sk/listinfo/therion ___ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
Re: [Therion] Exporting lists - translation not there?
Same result. I dont know much C, however if i peek into thexptable.cxx, it seems that there are only fixed strings put into the output. It seems the translate-method is not invoked, thus no language settings/translations can be applied. If someone would add the needed calls, i would happily provide "de" translations for it :) Am 2017-03-11 21:59, schrieb Bruce Mutton via Therion: You caught me out Benedict! Unfortunately that didn't work. The layout command yields the error: therion: error -- thconfig [8] -- unknown option -- "-layout-language" I did try to add a different language to another project, and I could not get any non-english output of any type, using both the method above, and Martin's suggestion. Actually I put the language de inside of a layout that was called by the export, rather than with a -layout-language option. Bruce ___ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion ___ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
Re: [Therion] Exporting lists - translation not there?
You caught me out Benedict! >Unfortunately that didn't work. >The layout command yields the error: > therion: error -- thconfig [8] -- unknown option -- "-layout-language" > I did try to add a different language to another project, and I could not get > any non-english output of any type, using both the method above, and Martin's > suggestion. Actually I put the language de inside of a layout that was called by the export, rather than with a -layout-language option. Bruce ___ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
Re: [Therion] Exporting lists - translation not there?
I am have run a few cursory tests, and all of the list exports seem to have English headings regardless of the language setting I use. I don't think there are translations for list exports (html output anyway). I have a tried and true multilingual project set up and testing it just now, it will produce pdf maps with en, fr, de and mi (one at a time, not all at once). However the list headings are always in English regardless of the language setting. The thconfig has; language de #fr en_UK mi export survey-list -output Output/SpanishParrotSurveys.html # and other list exports as well... export map -projection extended \ -layout LayoutMapThisCave\ -layout LayoutMapThisCaveElevEXT \ -output Output/SpanishParrotCave.pdf I am using 5.3.16 Vlad's beta, although over time I have compiled this project on a number of Therion versions. I did try to add a different language to another project, and I could not get any non-english output of any type, using both the method above, and Martin's suggestion. I am guessing there is some other language setting in that project that is conflicting, and if I persisted I would figure out where it is. Bruce -Original Message- From: Therion [mailto:therion-boun...@speleo.sk] On Behalf Of Martin Sluka via Therion Sent: Sunday, 12 March 2017 2:25 AM To: List for Therion users <therion@speleo.sk> Cc: Martin Sluka <martinsl...@mac.com> Subject: Re: [Therion] Exporting lists - translation not there? > 11. 3. 2017 v 13:01, Benedikt Hallinger via Therion <therion@speleo.sk>: > > It is in essence a line "language de" > followed by export continuation-list -o list.html Try: export continuation-list -o list.html -layout-language de m.s. ___ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
Re: [Therion] Exporting lists - translation not there?
> 11. 3. 2017 v 13:01, Benedikt Hallinger via Therion: > > It is in essence a line "language de" > followed by export continuation-list -o list.html Try: export continuation-list -o list.html -layout-language de m.s. ___ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
Re: [Therion] Exporting lists - translation not there?
It is in essence a line "language de" followed by export continuation-list -o list.html This yields english table headers. Am 2017-03-11 12:29, schrieb Martin Sluka via Therion: Explanation of language specific translations and its symbols is on page 2 of Thbook. May you share your thconfig file? m.s. 10. 3. 2017 v 20:27, Benedikt Hallinger via Therion: Hello again, i try to export some lists and want the titles to appear in german. for this i added "language de" to my export definition ("de_DE" is not accepted...). However, it does not do anything, the text appears still in english. What am i doing wrong? Or is the translation still missing (in which case please point me to the source, i will translate it with pleasure)? With best regards, B. Hallinger ___ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion ___ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion ___ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
Re: [Therion] Exporting lists - translation not there?
Explanation of language specific translations and its symbols is on page 2 of Thbook. May you share your thconfig file? m.s. > 10. 3. 2017 v 20:27, Benedikt Hallinger via Therion: > > Hello again, > > i try to export some lists and want the titles to appear in german. > > for this i added "language de" to my export definition ("de_DE" is not > accepted...). > However, it does not do anything, the text appears still in english. > > > What am i doing wrong? > Or is the translation still missing (in which case please point me to the > source, i will translate it with pleasure)? > > > With best regards, > B. Hallinger > ___ > Therion mailing list > Therion@speleo.sk > https://mailman.speleo.sk/listinfo/therion ___ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
[Therion] Exporting lists - translation not there?
Hello again, i try to export some lists and want the titles to appear in german. for this i added "language de" to my export definition ("de_DE" is not accepted...). However, it does not do anything, the text appears still in english. What am i doing wrong? Or is the translation still missing (in which case please point me to the source, i will translate it with pleasure)? With best regards, B. Hallinger ___ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion