Adding DSpace

Thanks for your interest. I've checked out the product and the license. I think there is definitely a basis to explore further. Thanks for considering translatewiki.net.

I've looked at the two file formats for i18n that you linked to. I wasn't able to identify the file containing the source texts, for example Messages.properties in https://github.com/DSpace/dspace-api-lang/tree/master/src/main/resources. Where are those files located?

As for the XML format in https://github.com/DSpace/dspace-xmlui-lang/tree/master/src/main/webapp/i18n; we do not support that file format yet. I'm not really a developer, but I took a stab at adding support for it in gerrit:70602 based on the Android XML format support that we already have. Would it be possible that one of you completes the patch set?

Siebrand09:25, 26 June 2013

The original source for Messages.properties can be found here: https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/resources/Messages.properties

For the Cocoon XML format: I will try to find someone to look at your code and finish this.

Bluyten (talk)10:04, 27 June 2013

That's cool! We have some documentation for that at http://www.mediawiki.org/wiki/Help:Extension:Translate/File_format_support

Nike (talk)08:09, 1 July 2013

Just a quick note that we haven't forgotten about this and will follow up in due course.

Bluyten (talk)12:41, 25 July 2013

Thanks Bluyten, please let us know here of any roadblock.

Nemo (talk)13:51, 29 July 2013

Short followup on the meeting with Siebrand at FOSDEM last weekend. We have cleared Siebrand's github account the rights to push into our lang repositories: Apache cocoon files: https://github.com/DSpace/dspace-xmlui-lang Properties files: https://github.com/DSpace/dspace-api-lang

Bluyten (talk)12:05, 5 February 2014

Nice! Some questions.

  1. Why you're not keeping English source and translations in the same repository? I don't know if fetching from one repo and committing to another is supported by our scripts (if Siebrand suggested that, ignore me).
  2. Can you use UTF-8 please?
  3. Several of those properties files are invalid. For instance [1] has a \ufeff as first character.
Nemo (talk)22:48, 5 February 2014

Good comments, thanks for the input Nemo.

1. The main "master" of the english languages file currently resides here: https://github.com/DSpace/DSpace/tree/master/dspace-xmlui/src/main/webapp/i18n I totally agree with you that we should unify this and solely rely on the language repository for the languages file. For now, it would be good if the EN contributions already arrive in the lang repository, and we will migrate it into the main codebase.

2. I was under the impression most files were UTF-8 so some of these files may have specific problems. I can go over them to see where the problems are, but if you have specific hints on which files are affected, let me know.

3. We will clean them. If you have a fast way to detect these problems, let me know.

(I will try to enable an email subscription for this topic, because I didn't realize you had replied to this)

Bluyten (talk)12:05, 13 February 2014

The DSpace community is dropping the OLD UI technologies based on JSPUI and XMLUI (Apache Cocoon) and is converging on a single, Angular UI.

In the context of this migration, we're in the process of transferring the language keys and translations to the .po and .pot format.

Once this is in place, could we pick up this thread again on integrating with translatewiki?

Thank you !!!

Bluyten (talk)13:31, 19 December 2018

Yes sure. Once you are ready, we can check and discuss again.

Nike (talk)13:49, 19 December 2018