Server: Setup translation system

Created on 13 Jun 2016  路  31Comments  路  Source: nextcloud/server

Workflow should be:

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

Also add back https://github.com/nextcloud/server/pull/75#discussion_r66933227

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

enhancement high

Most helpful comment

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

All 31 comments

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

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

@LukasReschke is working on this already ;)

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.

Just for my ToDo:

  • [ ] Replace Transifex Link in CONTRIBUTING.md as soon as it is ready 馃槈

鈿狅笍 Another problem is, that files drop is currently not translated 馃榿

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

234 is a great example to what happens without an translation system :stuck_out_tongue_winking_eye: ... Discussions about the german language in seperate issues on GitHub :smile:

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)

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 鈥β爄f anybody has some time to spent and wants to have fun with Transifex, let me know 馃槈

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.

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

@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

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

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

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.

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

@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).

@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 ;)

@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.

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

Do you know if this is somewhere open source?

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 :)

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 :(

I pushed the translation sources and also existing translations :)

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

Oh, okay :+1: Nice :tada:

will this then also get pushed back to the repo?

will this then also get pushed back to the repo?

I will set up a cron job for that.

You are awesome @MorrisJobke :+1: :+1: :+1:
I'll update the repo README to refer to transifex + URL :rocket:

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

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 :(

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

I guess this is done, @MorrisJobke ?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

blackcrack picture blackcrack  路  3Comments

MorrisJobke picture MorrisJobke  路  3Comments

ThomasLeister picture ThomasLeister  路  3Comments

georgehrke picture georgehrke  路  3Comments

mama21mama picture mama21mama  路  3Comments