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

Setup translation system #76

Closed
2 of 3 tasks
LukasReschke opened this issue Jun 13, 2016 · 31 comments
Closed
2 of 3 tasks

Setup translation system #76

LukasReschke opened this issue Jun 13, 2016 · 31 comments

Comments

@LukasReschke
Copy link
Member

LukasReschke commented Jun 13, 2016

Workflow should be:

  • Initial import of the ownCloud translation
  • Custom languages get translated there
  • Translations are fetched from there and will be put into git automatically

Also add back #75 (comment)

See also https://help.nextcloud.com/t/translations-transifex/149

@LukasReschke LukasReschke added this to the Nextcloud 9 milestone Jun 13, 2016
@MariusBluem
Copy link
Member

Will Files Drop be translated in Nextcloud 9, because we have no Transifex yet 😕

@MorrisJobke
Copy link
Member

Will Files Drop be translated in Nextcloud 9, because we have no Transifex yet 😕

@LukasReschke is working on this already ;)

@AndyScherzinger
Copy link
Member

Sounds good to me, only thing that hasn't been mentioned but would be great to have is a bot that pushes the translation changes to their respective repositories.

@MariusBluem
Copy link
Member

Just for my ToDo:

  • Replace Transifex Link in CONTRIBUTING.md as soon as it is ready 😉

@MorrisJobke MorrisJobke modified the milestones: Nextcloud 10, Nextcloud 9, Nextcloud 9.1 Jun 14, 2016
@MariusBluem
Copy link
Member

⚠️ Another problem is, that files drop is currently not translated 😁

@MorrisJobke
Copy link
Member

Regarding the rebranding: Could we try to do a search and replace for ownCloud to %s in the translations and hook in there the instance name of the theme? I could look into this soonish :) Then we could make use of all existing translations and import them afterwards

@MorrisJobke MorrisJobke modified the milestones: Nextcloud 9.1, 9.0.52 Jun 21, 2016
@MariusBluem
Copy link
Member

#234 is a great example to what happens without an translation system 😜 ... Discussions about the german language in seperate issues on GitHub 😄

@AndyScherzinger
Copy link
Member

Would we redo the translations or just import all language actually present and go on from there because else we loose all the languages (quite some on Android)

@LukasReschke
Copy link
Member Author

Would we redo the translations or just import all language actually present and go on from there because else we loose all the languages (quite some on Android)

Import. Just need to figure out how/when to do that properly … if anybody has some time to spent and wants to have fun with Transifex, let me know 😉

@AndyScherzinger
Copy link
Member

Never worked with transifex except registering an account. This does get more import since future releases merging all the open PRs/branches for the Android app will add to the need for the translation system. If it works like Crowdin you have to define the languages to be available and then upload the file(s) per language.

@MariusBluem
Copy link
Member

Or we create an repo for translations here on GitHub 😁 ... Not as nice as having Transifex ... But ... Yeah ... Better than nothing ... And easier for an first time 😉

@MorrisJobke MorrisJobke self-assigned this Jun 27, 2016
@ungesundes-halbwissen
Copy link

@Mar1u5: for the record: I have looked for a translation system prior to posting in issue #234 and it was only because I didn't know where else to put it that I misused github for this :-P

@MariusBluem
Copy link
Member

@ungesundes-halbwissen Aboulutely correct. We have currently no better place for that 😅 ...as long as we have no Translation System this is the correct and only working way to do that 😁

@MorrisJobke
Copy link
Member

I will today try to get a l10n system setup :)

@MorrisJobke
Copy link
Member

I imported now all translations from the server repository into transifex. https://www.transifex.com/nextcloud/nextcloud/languages/

Feel free to request for getting into a translation Team. As of now @LukasReschke @jospoortvliet and I can give you the needed rights :)

I will setup a cron job to fetch the translations from there and put them into the git repository.

@ungesundes-halbwissen
Copy link

ungesundes-halbwissen commented Jun 29, 2016

Cool! Thanks for all your effort!
On my way :-)

@AndyScherzinger
Copy link
Member

@MorrisJobke can we have the same thing for Android :) Just sent a "Join Team" request for the server and I could then take care of uploading the files for Android if the project is set up and I have the permission to do so (can be revoked afterwards, I don't care).

@MorrisJobke
Copy link
Member

@AndyScherzinger What files are needed to be uploaded (as resources) and where should the result be put? Then I set up a cron job to do this automatically ;)

@AndyScherzinger
Copy link
Member

AndyScherzinger commented Jun 29, 2016

@MorrisJobke a bit tricky... ;)
The following file strings.xml
in the following folders in the folder in https://github.com/nextcloud/android/tree/master/res which start with values-* with values being the English master files to be excluded: values-sw360dp, values-large-land, values-v11, values-v19, values-v21, values-v9. -* defines the language/ so basically the same thing ownCloud has been running and still is.

@MorrisJobke
Copy link
Member

so basically the same thing ownCloud has been running and still is.

Do you know if this is somewhere open source?

@MorrisJobke
Copy link
Member

Do you know if this is somewhere open source?

Got them. It was only the plain transifex client. I pushed the translation sources and also existing translations :)

@AndyScherzinger
Copy link
Member

The only thing I found is https://github.com/owncloud/administration/tree/master/jenkins/translation_sync
A quick look seemed this is not for Android though :(

@MorrisJobke
Copy link
Member

I pushed the translation sources and also existing translations :)

See https://www.transifex.com/nextcloud/nextcloud/android/

@AndyScherzinger
Copy link
Member

Oh, okay 👍 Nice 🎉

@AndyScherzinger
Copy link
Member

will this then also get pushed back to the repo?

@MorrisJobke
Copy link
Member

will this then also get pushed back to the repo?

I will set up a cron job for that.

@AndyScherzinger
Copy link
Member

You are awesome @MorrisJobke 👍 👍 👍
I'll update the repo README to refer to transifex + URL 🚀

@MariusBluem
Copy link
Member

Will we import translations into 9.0.52 😁 New features (Theming, ...) seems to be untranslated in RC1 :(

@MorrisJobke
Copy link
Member

Will we import translations into 9.0.52

This is always hard, because we then need to merge the stable9 and the master translations somehow :(

@MariusBluem
Copy link
Member

Keep in mind that end-users need a full translated piece of software 😉

@MorrisJobke MorrisJobke modified the milestones: Nextcloud Next, Nextcloud 9.0.52 Jul 5, 2016
@LukasReschke
Copy link
Member Author

I guess this is done, @MorrisJobke ?

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

No branches or pull requests

5 participants