Re: Weblate - loading time
Yaron Shahrabani <[email protected]>
| Newsgroups | gmane.linux.redhat.internationalization |
|---|---|
| Message-ID | <CACVjhxVptGqdOGFAz+eg1CsaqTvRKv_MLVfnjpzOD8tP5Znwpw@mail.gmail.com> |
I've tried on a docker machine and found the following: 1. Config should be stored under ~/.weblate 2. The "translation=" key should have a real value such as "ibus-typing-booster/app" (if I'm not mistaken) 3. There's a bug in wlc where the urls are missing a slash, this is why you're seeing this error: DEBUG:urllib3.connectionpool:https://translate.stg.fedoraproject.org:443 "GET /apiprojects/ HTTP/1.1" 404 None Error: Object not found on the server (maybe operation is not supported on the server) I'll try to submit it to Michal and send you the issue number so you can follow. Yaron Shahrabani <DevOps - Hebrew translator> On Mon, Nov 4, 2019 at 1:40 PM Yaron Shahrabani <[email protected]> wrote: > It doesn't seem to work on my machine either, also when specifying the > arguments via the cli. > > Probably it's blocked somehow. > Yaron Shahrabani > > <DevOps - Hebrew translator> > > > > On Mon, Nov 4, 2019 at 11:56 AM Mike FABIAN <[email protected]> wrote: > >> Benson Muite <[email protected]> さんはかきました: >> >> > Thanks for the suggestions. WLC not so great at 20Kb/s. Browser >> > (Firefox) is slow but does better. Lynx browser seems to fail on >> > login. Will check out API documentation. >> >> I tried to use wlc but could not get it to work. >> >> My ~/.config/weblate contains: >> >> [weblate] >> url = https://translate.stg.fedoraproject.org/api >> key = <my API key here> >> translation = weblate/master >> >> But it doesn’t seem to work: >> >> $ wlc show >> Error: Object not found on the server (maybe operation is not supported >> on the server) >> $ wlc list-components >> Error: Object not found on the server (maybe operation is not supported >> on the server) >> $ >> >> Does anybody know what I am doing wrong? >> >> > On 11/3/19 8:49 PM, Yaron Shahrabani wrote: >> >> Weblate has a lightweight cli client called wlc and a pretty >> >> extensive API you can possibly use. >> >> >> >> On Sun, Nov 3, 2019, 16:15 Shehroz Kaleem <[email protected] >> >> <mailto:[email protected]>> wrote: >> >> >> >> 1+ for this suggestion. >> >> >> >> I think this might be possible with this (I have not used this) >> >> >> >> https://docs.weblate.org/en/latest/wlc.html#wlc >> >> >> >> On Sun, 3 Nov 2019 at 16:03, Benson Muite >> >> <[email protected] <mailto:[email protected]>> >> >> wrote: >> >> >> >> It would be helpful if there was an interface in Weblate for a >> >> slow >> >> internet connection. >> >> >> >> a) It may be helpful to run speed tests and peform some of the >> >> optimizations at: >> >> >> >> >> https://fedoramagazine.org/design-faster-web-pages-part-1-image-compression/ >> >> >> https://fedoramagazine.org/design-faster-web-pages-part-2-image-replacement/ >> >> >> https://fedoramagazine.org/design-faster-web-pages-part-3-font-css-tweaks/ >> >> >> >> b) It may also be helpful to have a mostly text interface for >> low >> >> bandwith connections >> >> >> >> Can make these as requests in Weblate directly, but viewpoints >> >> from >> >> other testers are also helpful, in particular for items that >> are >> >> specific to Fedora. >> >> >> >> Benson >> >> _______________________________________________ >> >> trans mailing list -- [email protected] >> >> <mailto:[email protected]> >> >> To unsubscribe send an email to >> >> [email protected] >> >> <mailto:[email protected]> >> >> Fedora Code of Conduct: >> >> https://docs.fedoraproject.org/en-US/project/code-of-conduct/ >> >> List Guidelines: >> >> https://fedoraproject.org/wiki/Mailing_list_guidelines >> >> List Archives: >> >> >> https://lists.fedoraproject.org/archives/list/[email protected] >> >> >> >> _______________________________________________ >> >> trans mailing list -- [email protected] >> >> <mailto:[email protected]> >> >> To unsubscribe send an email to >> >> [email protected] >> >> <mailto:[email protected]> >> >> Fedora Code of Conduct: >> >> https://docs.fedoraproject.org/en-US/project/code-of-conduct/ >> >> List Guidelines: >> >> https://fedoraproject.org/wiki/Mailing_list_guidelines >> >> List Archives: >> >> >> https://lists.fedoraproject.org/archives/list/[email protected] >> >> >> >> >> >> _______________________________________________ >> >> trans mailing list -- [email protected] >> >> To unsubscribe send an email to [email protected] >> >> Fedora Code of Conduct: >> https://docs.fedoraproject.org/en-US/project/code-of-conduct/ >> >> List Guidelines: >> https://fedoraproject.org/wiki/Mailing_list_guidelines >> >> List Archives: >> https://lists.fedoraproject.org/archives/list/[email protected] >> > _______________________________________________ >> > trans mailing list -- [email protected] >> > To unsubscribe send an email to [email protected] >> > Fedora Code of Conduct: >> https://docs.fedoraproject.org/en-US/project/code-of-conduct/ >> > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines >> > List Archives: >> https://lists.fedoraproject.org/archives/list/[email protected] >> > >> >> -- >> Mike FABIAN <[email protected]> >> 睡眠不足はいい仕事の敵だ。 >> _______________________________________________ >> trans mailing list -- [email protected] >> To unsubscribe send an email to [email protected] >> Fedora Code of Conduct: >> https://docs.fedoraproject.org/en-US/project/code-of-conduct/ >> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines >> List Archives: >> https://lists.fedoraproject.org/archives/list/[email protected] >> > _______________________________________________ trans mailing list -- [email protected] To unsubscribe send an email to [email protected] Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/[email protected]