[Xfce-i18n] Pulling translations from transifex.com with tx client

Baurzhan Muftakhidinov baurthefirst at gmail.com
Wed Nov 26 11:57:32 CET 2014


On Wed, Nov 26, 2014 at 4:40 PM, Sveinn í Felli <sv1 at fellsnet.is> wrote:
> Ping.
>
> Þann fim 22.maí 2014 11:35, skrifaði Sveinn í Felli:
>
>> Þann fim 22.maí 2014 09:21, skrifaði Dimitris Glezos:
>>>
>>>
>>> On Thu, May 22, 2014 at 11:40 AM, Sveinn í Felli
>>> <sv1 at fellsnet.is <mailto:sv1 at fellsnet.is>> wrote:
>>>
>>>     My setup for tx-client seems to work no more ;-(
>>>     It used to be similar to Baurzhan's, but the host was
>>>     https://xfce.transifex.com.
>>>
>>>     Tried to initialize again with:
>>>
>>>     tx set --auto-remote
>>>     https://www.transifex.com/__projects/p/xfce/r/all-__resources/
>>>     <https://www.transifex.com/projects/p/xfce/r/all-resources/>
>>>
>>>     Guess it's wrong.
>>>
>>>
>>> Yes -- the above URL is a 404.
>>>
>>> Here are the available options:
>>> http://docs.transifex.com/developer/client/set#auto-remote
>>>
>>> And here is a page with all the resources for XFCE for French:
>>> https://www.transifex.com/organization/xfce/dashboard/all_resources/fr/
>>
>>
>> I already found the
>> https://www.transifex.com/organization/xfce/dashboard/all_resources/is/
>> which is my language resource. But how are we supposed to get the
>> tx-client to grab all xfce-translation files for a specific language ?
>>
>> Using this url with [tx set --auto-remote <URL>] does not work.
>>
>> I think it's worth a stub on the xfce-wiki...
>>
>> regards,
>> Sveinn í Felli
>>
>>> I wrote down on our Feature Requests to support API requests
>>> on top of the organization, so one could get the above page
>>> over the API and, then, extend the --auto-remote feature of
>>> the client to accept that URL.
>>>
>>> -d
>>>
>>>
>>>
>>>
>>>     Does anyone have a good working .tx/config to share or
>>>     the commands to get one going* ?
>>>
>>>     *[that is; to get all XFCE translations and update with
>>>     "tx pull -l <lang>" and "tx push -t"]
>>>
>>>     Best regards,
>>>     Sveinn í Felli
>>>
>>>     Þann mið 12.feb 2014 16:53, skrifaði Baurzhan Muftakhidinov:
>>>
>>>         On Wed, Feb 12, 2014 at 7:50 PM, Baurzhan Muftakhidinov
>>>         <baurthefirst at gmail.com
>>>         <mailto:baurthefirst at gmail.com>> wrote:
>>>
>>>             Hello,
>>>
>>>             I was trying to get all Kazakh translation files
>>>             at once with the help of transifex client utility.
>>>
>>>             However, it seems like that utility works with
>>>             projects only,
>>>             and it does not know how to handle organizations.
>>>
>>>             It is very sad,
>>>
>>>
>>>         It turns out, all components of Xfce core are separate
>>>         projects on Transifex, so I had to manually edit
>>>         .tx/config file to list them,
>>>         like below
>>>
>>>
>>>         [baur at f0 xfce-core]$ cat .tx/config
>>>         [main]
>>>         host = https://www.transifex.com
>>>
>>>         [thunar.master]
>>>         file_filter = translations/thunar.master/<__lang>.po
>>>         source_lang = en
>>>         type = PO
>>>
>>>         [xfwm4.master]
>>>         file_filter = translations/xfwm4.master/<__lang>.po
>>>         source_lang = en
>>>         type = PO
>>>
>>>         and so on.
>>>         However, Xfce apps, thunar and panel plugins are bulk
>>>         projects, so you can easily get them all with tx
>>>         client at once.
>>>
>>>         Regards
>>>         _________________________________________________
>>>         Xfce-i18n mailing list
>>>         Xfce-i18n at xfce.org <mailto:Xfce-i18n at xfce.org>
>>>         https://mail.xfce.org/mailman/__listinfo/xfce-i18n
>>>         <https://mail.xfce.org/mailman/listinfo/xfce-i18n>
>>>
>>>
>>>
>>>     _________________________________________________
>>>     Xfce-i18n mailing list
>>>     Xfce-i18n at xfce.org <mailto:Xfce-i18n at xfce.org>
>>>     https://mail.xfce.org/mailman/__listinfo/xfce-i18n
>>>     <https://mail.xfce.org/mailman/listinfo/xfce-i18n>
>>>
>>>
>>>
>>>
>>> --
>>> Dimitris Glezos
>>> Founder & CEO, Transifex
>>> https://www.transifex.com/
>>>
>>>
>>> _______________________________________________
>>> Xfce-i18n mailing list
>>> Xfce-i18n at xfce.org
>>> https://mail.xfce.org/mailman/listinfo/xfce-i18n
>>>
>>
>>
>> _______________________________________________
>> Xfce-i18n mailing list
>> Xfce-i18n at xfce.org
>> https://mail.xfce.org/mailman/listinfo/xfce-i18n
>>
>
> _______________________________________________
> Xfce-i18n mailing list
> Xfce-i18n at xfce.org
> https://mail.xfce.org/mailman/listinfo/xfce-i18n

Hi

I made it last week, let me check for exact commands,

Regards,


More information about the Xfce-i18n mailing list