Re: Automatic extraction of translations files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Mon, Aug 10, 2020 at 2:52 AM Jean-Baptiste Holcroft <jean-baptiste@xxxxxxxxxxx> wrote:
Hello internationalization team,

I would like to provide translation memories for translators and measure
localization progress over versions, and I need to learn how to interact
with Fedora package builds.

This would basically looks like:

0. for each new version of a Fedora package
1. identify and extract the srpm content
2. identify the localization files
3. download every existing po files
4. produce translation memories and statistics

Steps 1 to 4 are "easy".
But for step 0, I have no idea how to do it. How can I get some kind of
notification when a new package is created (whatever a new one or an
update of an existing one)?

I feel like transtats does something similar, I think I could take some
hint from this project, but how to get started?

"Sync Package Build System" job at https://transtats.fedoraproject.org/jobs/yml-based does the same! And now its results seem quite accurate.
Kindly refer: https://www.youtube.com/watch?v=RHPtsIHNIgg [at 4:20] for demo. In fact this feature is available through:
    - API: https://transtats.fedoraproject.org/api-docs/#job
    - CLI: http://docs.transtats.org/en/latest/client.html

I really feel if we extend this functionality a bit maybe that's this requirement.
I mean if we get an option to append "Translation Memory" along with "Transtats Statistics" for each job.. I guess that would be the answer?
How do you feel?
 

All of this should probably run in one or multiple openshift scripts,
but I know how to get help for this.

Thanks for your help,
Jean-Baptiste
_______________________________________________
i18n mailing list -- i18n@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to i18n-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/i18n@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________
i18n mailing list -- i18n@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to i18n-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/i18n@xxxxxxxxxxxxxxxxxxxxxxx

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux