Giter VIP home page Giter VIP logo

Comments (4)

mquinson avatar mquinson commented on July 18, 2024

I will try to fulfill this request.

from po4a.

Jibec avatar Jibec commented on July 18, 2024

I think we have the same usecase in Fedora community, which forced us to stay stuck with po4a 0.66: https://pagure.io/fedora-docs/translations-scripts/issue/26

what we do: we parse thousands of pages, and based on source content in adoc, we generate pot files
https://pagure.io/fedora-docs/translations-scripts/blob/master/f/src-to-pot.sh

then we have a translation platform for users to add translations
the translation platform handles the po creation and updates each time a pot file changes
then, we have a script that allows to generate source file from translations files: https://pagure.io/fedora-docs/translations-scripts/blob/master/f/po-to-src.sh

this is a huge machinery:

  • Total messages: 183 574
  • Total words: 3 526 483
  • Total pages: 3 024

As far as I know, it is not possible to have a central file to handle such a complex usecase

from po4a.

jnavila avatar jnavila commented on July 18, 2024

This would have the added benefit of allowing to run po4a processes in parallel on multicore machines.

from po4a.

eevan78 avatar eevan78 commented on July 18, 2024

I have similar problem, translating the complete Vim documentation to single language. I have setup the config file that I use to update the translation from time to time. That works fine. During translation process, I have been using po4a-translate to translate just the file I'm working on and display the result. I have tried to do the same using po4a with --no-update and --translate-only filename options, but I get

Split mode, creating a temporary POT:Disabling --translate-only option, it is not supported in split mode

That way it is very slow as it translates all files, and there are 152 of them.
It seems that there are use cases which cannot be substituted easily with po4a...

from po4a.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.