IRC logs of #tryton for Friday, 2019-05-10

chat.freenode.net #tryton log beginning Fri May 10 00:00:01 CEST 2019
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton01:05
-!- yangoon1(~mathiasb@i59F5F237.versanet.de) has joined #tryton04:05
-!- kapilp(uid36151@gateway/web/irccloud.com/x-qhauawaeyitezyvu) has joined #tryton05:05
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton07:05
-!- rpit(~rpit@p200300C88F0A6700F0BEFC50CEB0A731.dip0.t-ipconnect.de) has joined #tryton07:05
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton08:05
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton08:05
-!- mrichez(~Maxime@mail.saluc.com) has joined #tryton08:05
-!- smorillo(3eaeebce@gateway/web/cgi-irc/kiwiirc.com/ip.62.174.235.206) has joined #tryton09:05
-!- scrapper(~scrapper@mail.alpmine.com) has joined #tryton09:05
-!- tbruyere(~smuxi@mail.saluc.com) has joined #tryton10:05
tbruyereI saw that the translation file of countries in the country module is not up to date (example Czechia). I do not know whether to go directly to the module translation (weblate tryton) or if the translation is imported from the pycountry module?10:05
pokolitbruyere: only the english strings are imported from pycountry. See: http://hg.tryton.org/modules/country/file/9068cd130176/scripts/countries.py11:05
pokolitbruyere: If the issue is your language translation you should use trytons weblate to fix them11:05
cedktbruyere: Do you mean that for you some countries are not correctly translated ?11:05
tbruyerecedk: English : Czechia -> In french no translate (=Czechia). But I thought the translation was updated via pycountry.11:05
tbruyereI just checked, it is not translated into other languages.11:05
cedktbruyere: yes it is so if you want to improve it, you must improve the pycountry translation11:05
tbruyerecedk: version 18.12.8 of pycountry is correctly translated.11:05
tbruyerehttps://bitbucket.org/flyingcircus/pycountry/src/18.12.8/src/pycountry/locales/fr/LC_MESSAGES/11:05
tbruyerehttps://hosted.weblate.org/translate/iso-codes/iso-3166-1/fr/?checksum=&offset=1&q=czechia&search=ftx&source=on&type=translated&ignored=&date=&only_user=&exclude_user=11:05
cedkso someone has to improve the process11:05
cedkor it was again a failure of pootle11:05
tbruyerecedk: To be certain to have understood: the translation of "country" is well synchronized with pycountry?12:05
cedktbruyere: yes with a script12:05
cedkhttp://hg.tryton.org/tryton-tools/file/tip/translate_pycountry.py12:05
pokoliACTION didn't know about this script :$12:05
cedkI must say this management starts to become a pain with many languages and the use of pootle/weblate12:05
cedkI think we must find a better solution12:05
cedkmaybe we should import countries and translations using a script like for the zip code12:05
tbruyerecedk: After test with the script (translate_pycountry.py). I saw that the new iso code for translate uptodate is iso3166-1 and no iso3166 (old translation)12:05
tbruyerethe file iso3166.mo is date 2015-07-19 -> the new translate is in the iso3166-1.mo13:05
tbruyerehttps://bitbucket.org/flyingcircus/pycountry/src/18.12.8/src/pycountry/locales/fr/LC_MESSAGES/13:05
tbruyerecedk: I must open a issue for this with a patch?13:05
cedktbruyere: what patch?13:05
tbruyereSuggest to use iso3166-1 instead of iso3166 to import the pycountry translation13:05
tbruyereline 32 of script : http://hg.tryton.org/tryton-tools/file/tip/translate_pycountry.py13:05
cedktbruyere: OK13:05
-!- mariomop(~quassel@host140.201-253-197.telecom.net.ar) has joined #tryton13:05
-!- tbruyere(~smuxi@mail.saluc.com) has joined #tryton13:05
tbruyereIssue for translate_pycountry.py : https://bugs.tryton.org/issue834413:05
-!- rpit(~rpit@p200300C88F0A6700F0BEFC50CEB0A731.dip0.t-ipconnect.de) has joined #tryton14:05
-!- springwurm(~Springwur@5.104.149.54) has joined #tryton14:05
-!- lukio(~lukio@201.213.81.216) has joined #tryton15:05
lukioHi, is there any way to set the logconf from an enviroment variable? For exmple, I want to set it at the uwsgi.conf15:05
lukioSomething similiar as TRYTOND_CONFIG15:05
Timitoslukio: http://hg.tryton.org/trytond/file/tip/trytond/application.py TRYTOND_LOGGING_CONFIG15:05
-!- csotelo(~csotelo@190.234.41.50) has joined #tryton16:05
-!- smorillo(547f685c@gateway/web/cgi-irc/kiwiirc.com/ip.84.127.104.92) has joined #tryton17:05
-!- rpit(~rpit@p4FFB77B3.dip0.t-ipconnect.de) has joined #tryton18:05
-!- lukio(~lukio@host126.186-109-85.telecom.net.ar) has joined #tryton19:05
-!- udono(~udono@p200300D34F20F20776E50BFFFE6EA706.dip0.t-ipconnect.de) has joined #tryton20:05
-!- lukio(~lukio@190.191.95.243) has joined #tryton20:05
-!- udono(~udono@pD957299E.dip0.t-ipconnect.de) has joined #tryton21:05
-!- semarie_(~semarie@unaffiliated/semarie) has joined #tryton22:05
-!- kapilp(uid36151@gateway/web/irccloud.com/x-xeerlsduknvjpzyl) has joined #tryton23:05

Generated by irclog2html.py 2.16.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!