Git Product home page Git Product logo

Comments (17)

luzpaz avatar luzpaz commented on July 24, 2024

Some thoughts:
So what happens when a new translation source file is uploaded ? What happens to old translations:
If one chooses to automatically update the source file:

  • New strings will be added.
  • Modified strings will be considered as new ones and added as well.
  • Strings, which do not exist in the new source file (including ones which have been modified), will be removed along with their translations.

However, old translations are kept in the Translation Memory of the project.

from scribus.

luzpaz avatar luzpaz commented on July 24, 2024

From @kovidgoyal on September 16, 2014 3:47

Just a few tips:

  1. Use the transifex command line client tx
  2. Create a separate github project and commit all the .pot/.po files to it, so even if something goes wrong in transifex, you can always recover. See for example: https://github.com/kovidgoyal/calibre-translations
  3. If you wish to learn how I manage translations in calibre, see the file setup/translations.py
    The class POT gets all translateable strings from the calibre source code and user manual and uploads the .pot files to transifex using tx
    The class Translations compiles them to .mo format for distribution using msgfmt
    The class GetTranslations downloads translations from transifex, checks them using pofilter and uploads them to GitHub.
    These commands are run once a week automatically as part of calibre's release process, so that everything is kept up to date.

from scribus.

luzpaz avatar luzpaz commented on July 24, 2024

@kovidgoyal sweet!
Thank you very much. Will study your tips.
Reference notes:

  • Calibre's setup/translations.py
    • class POT gets all translateable strings from the calibre source code and user manual and uploads the .pot files to transifex using tx
    • class Translations compiles them to .mo format for distribution using msgfmt
    • class GetTranslations downloads translations from transifex, checks them using pofilter and uploads them to GitHub.

from scribus.

gyuris avatar gyuris commented on July 24, 2024

Bingo! Transifex would be great for Scribus! I use it in other projects. I'm the Hungarian translator. If you need a tester, I can help.

from scribus.

luzpaz avatar luzpaz commented on July 24, 2024

@gyuris would you like to help implement this? or know anyone who'd be interested ?

from scribus.

gyuris avatar gyuris commented on July 24, 2024

@luzpaz Sorry, I'm not a developer :(

from scribus.

luzpaz avatar luzpaz commented on July 24, 2024

@chhitz based on our previous conversation lets update the ticket here

@gyuris no probs. I'll check in with you when we get Transifex up and running and we can then take you up on testing it. Thanks!

from scribus.

luzpaz avatar luzpaz commented on July 24, 2024

Some concerns were brought up on the channel the other day:
See http://irclogs.scribus.net/%23scribus/2015/2015-05/%23scribus.2015-05-25.log

from scribus.

luzpaz avatar luzpaz commented on July 24, 2024

musescore FTW:
https://musescore.org/node/22982 and @anomaly404 who spearheaded the project
@chhitz maybe we can do something like this. Craig has a resource manager in Scribus though not yet enabled.

from scribus.

luzpaz avatar luzpaz commented on July 24, 2024

http://irclogs.scribus.net/%23scribus/2015/2015-05/%23scribus.2015-05-28.log
@chhitz gets greenlight

from scribus.

luzpaz avatar luzpaz commented on July 24, 2024

@gyuris Check out https://www.transifex.com/projects/p/scribus-14x/language/hu/

from scribus.

gyuris avatar gyuris commented on July 24, 2024

:-).
Why exists Scribus and Scribus 1.4 project? For project structure see my other project on Transifex: https://www.transifex.com/projects/p/openlp/language/hu/

from scribus.

luzpaz avatar luzpaz commented on July 24, 2024

Scribus 1.4 is stable
"Scribus" I believe is 1.5.1
Right @chhitz ?

from scribus.

aoloe avatar aoloe commented on July 24, 2024

from scribus.

gyuris avatar gyuris commented on July 24, 2024
  1. I suggest to unite trunk and 1.4 or 1.5 projects in Transifex. Why? In Transifex every project has own language team and I must ask permission for every project to translate. This is not ideal for translators and translation teams if there are more projects for Scribus. Please, see the OpenP project structure: there is only one project and there are more branches in this project, there are closed and opened branches... https://www.transifex.com/projects/p/openlp/language/hu/
  2. Can you see my ("bubu") permission request in "Scribus 1.4.x" project for Hungarian language team? Please approve me.

from scribus.

luzpaz avatar luzpaz commented on July 24, 2024

@gyuris thanks for that feedback. Need to get clearer on the the workflow of how translations will be handled now through transifex. A patch was submitted by @chhitz to get this ball rolling.

from scribus.

luzpaz avatar luzpaz commented on July 24, 2024

Closing this issue in favor of #15

from scribus.

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.