Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: offer most up-to-date FC translations/localizations via addon manager #68

Open
luzpaz opened this issue Feb 25, 2018 · 5 comments
Assignees

Comments

@luzpaz
Copy link
Collaborator

luzpaz commented Feb 25, 2018

Ref: https://forum.freecadweb.org/viewtopic.php?f=8&t=27097&p=217178#p217178
This way users don't have to wait for updates between releases.

@luzpaz

This comment has been minimized.

@luzpaz luzpaz self-assigned this Apr 23, 2018
@luzpaz
Copy link
Collaborator Author

luzpaz commented Jul 10, 2019

Prerequisites

  • Create github.com/FreeCAD/FreeCAD-translations
  • Modify the FC crowdin scripts to work with the FreeCAD bot

Proposed Workflow:

Single/Multiple translations

  • Bot somehow polls crowdin to see if new translations have been translated
  • Bot triggers script to export updated translations from crowdin and push to the GitHub repo
  • The server has qttools5-dev-tools package installed and converts the .ts files in to .qm files.
  • User is notified via the Addon Manager that new translations are available (maybe just for dev version?)
  • Addon Manager downloads translation files in to the users ~/.FreeCAD/translation/ directory
  • User is prompted to restart FreeCAD

Result: new translations should be available in the UI

Side Feature

  • Bot can function as a way to let the devs know that translations are available and to trigger an update from Crowdin to FreeCAD master

* (forum thread)

@luzpaz
Copy link
Collaborator Author

luzpaz commented May 30, 2021

Updated workflow with info from https://forum.freecadweb.org/viewtopic.php?f=21&t=51825&p=506882#p505457

@kaktusus
Copy link

Hi.
a good plan is the basis of every action.
I have to think a little bit and get to know more. I do not know the possibilities of the crowdin system, and I do not know what tools could be used there to automate the work. being able to use cron (crontab) would automate some of the work.

@luzpaz
Copy link
Collaborator Author

luzpaz commented May 30, 2021

There are a few options:

  1. improve our crowdin scripts (link)
  2. use the crowdin cli (link)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants