Considering to translate multiroutemap on Translatewiki

From Support
Jump to navigation Jump to search

Hi,

we're considering using Translatewiki for translation of multiroutemap. Translations consist of .po files for interface messages and .rst files for information pages. All source code is as free as possible (main developer Sarah Hoffman dedicates her contributions to Public Domain where possible), and the project has been running for some time now, with French, Norwegian, Italian, German and Spanish translations.

Are you interested in taking us in? What would you require?

Dittaeva (talk)12:31, 20 February 2012

Translating:New_project sums pretty much what we want. Usually as long as the project developers are interested and work together us the other requirements can be worked out. We also expect commitment to respond and solve i18n related issues that our translators find.

Would you like to chat with me on IRC or skype?

Nike (talk)20:22, 20 February 2012

After the IRC chat last evening I e-mailed with Sarah. It all looks good to her, and she'll take sign up and take a look around this evening. So now we're mostly just waiting for you to do the i18n code review, look into how to handle .rst, and set it up :)

Dittaeva (talk)10:29, 21 February 2012
 

Some review comments:

  • Where's the pot file?
  • Is "bbox" supposed to be a known term?
  • There are a few patchwork messages. It looks like some parts of the patchwork are also not localisable. Can't you use something like wikipedia:Markdown to keep sentences together?
    • last update (presumably followed by a date)
    • For information about the syntax, see (presumably followed by a link with an unknown link description)
    • Contents of this page licensend under (presumably followed by a link with a license as link description)
  • Cryptic message: Recognized Values for osmc:symbol
  • Some title casing is being used, but I'm uncertain if it's used consistently.

Cheers!

Siebrand00:08, 26 February 2012

Bbox is short for bounding box, a rectangular area of the map that is shown (I think)

Nike (talk)12:16, 26 February 2012
 
Edited by author.
Last edit: 21:01, 27 February 2012

bbox should probably be expanded, and osmc:symbol explained (and expanded). I'll let Sarah respond to the pot file and patchwork messages, but I suppose it has been done to keep links and "dynamic" messages away from translators. You're asking for title casing to be consistent, or are you saying that Title Should Be Like This?

Dittaeva (talk)08:29, 27 February 2012

I'm asking for it to be consistent -- I don't know the product, but I think there may be inconsistencies. In MediaWiki "We use it like this", but I don't really have a preference as to "How It's Used in English". Translators have to pick their own preference (in Dutch "It's usually like this").

Siebrand10:25, 27 February 2012
 

Comments on the comments:

  • There is no pot file in django. To create a new language there is a command: django-admin makemessages -l <two-letter language code>. They are updated with django-admin makemessages -a and finally compiled with django-admin compilemessages. You need to do this from the directory above the locale directory.
  • Putting the links into the patchwork messages is slightly tricky because they are django links that are dynamically created. I'll have a look. I wouldn't consider 'last update' as a patchwork message.

The other stuff should indeed be fixed/clarified.

Lonvia (talk)21:46, 27 February 2012

We'd need a pot file somehow. Otherwise there is nothing to bootstrap from.

Siebrand14:48, 28 February 2012

I've added an empty template language here: django/locale/xx/LC_MESSAGES/django.po

Would that be sufficient for bootstrapping?

Lonvia (talk)22:09, 3 March 2012

Yes we can use that. But it also needs to be kept up to date when messages change, because our software uses that as the authoritative information of what messages should be exported.

Nike (talk)08:49, 6 March 2012
 
 
 
Edited by author.
Last edit: 15:23, 28 February 2012

I've made an issue to follow this up. As for the osmc:symbol message, it is appropriate unexpanded/unexplained in it's context, but should be explained on the help pages. I have been unable to find out what it stands for, however.

Dittaeva (talk)22:32, 27 February 2012

Cool.

Siebrand14:47, 28 February 2012
 

I believe we have resolved all the issues raised by Siebrand now. Have you looked into supporting .rst-files? I'm going to present use of multiroutemap in Joensuu, Finland on Tuesday, and was hoping it would be working until then, so that I could show how easy it is to translate, and perhaps tempt some of our other project partners to use/contribute to it.

Dittaeva (talk)15:08, 8 March 2012

Oh cool I didn't know you are coming to Finland.

The problem with RST is that it's not a i18n file format, but document format like word or wikitext. It seems to be similar to wikitext, so one solution would be to add the text into wikipages and use the page translation feature of Translate to translate them. Though, the syntax is not familiar to our translators and they might make mistakes with that.

In any case we can start with the Gettext files, and start sorting out the details with commit access, creating project description page and things like that. If you can catch me on IRC or Skype we can do that more efficiently.

Nike (talk)21:44, 8 March 2012
Edited by author.
Last edit: 21:11, 12 March 2012

Ok, we can start with the Gettext files, but if it's not too much hassle, I'd just set up translating of the .rst files through wikipages. We can look through them before they go into production. As for the rest:

  1. Commit access: I assume Sarah should give Siebrand push access?
  2. Project description: I've made a draft here. Could you make a "logo" based on your top right icons (or something more "proper" if you like) Sarah? Should have a short description when the long one is done.
  3. Sarah has changed the name from "multiroutemap" to "waymarked-trails-site" on Github. I think we should call it "Waymarked Trails" and "waymarked-trails" if lower case and sans space is needed.
  4. New languages are added by adding them on new line around here.
Dittaeva (talk)22:31, 9 March 2012

I've chatted with Nike on IRC, and he wishes for himself and Amir (Amir will probably become the committer) to also get push access, to increase flexibility I presume.

Dittaeva (talk)11:19, 10 March 2012

Nike, Amir and Siebrand should have push access now.

Dittaeva (talk)22:07, 11 March 2012
 

I've finalized the draft project description including icons from the project as an illustration/logo.

Dittaeva (talk)23:22, 10 March 2012
 

Sarah says rst is not set in stone, Django can also do markdown and textile out of the box. Suggest you create an example what you can produce and then she can have a look on how to integrate it, but the help pages can be implemented afterwards.

Dittaeva (talk)22:01, 11 March 2012

I suppose the page translation feature is used on web interface? I think that could be useable for the help pages. We do not have to use RST, markdown is more similar to MediaWiki syntax and for example headings can be formatted exactly the same way. I suppose most effort would go in to importing the existing translations and setting up an export to translated files.

Guttorm Flatabø (talk)22:59, 5 May 2012

Page translation is not the best option here, I think. It does not have export capabilities and requires too much manual maintenance. You could use page translation if you were to install your own MediaWiki instance with Translate, but if you want the translations in your SCM solution, you need an FFS class (File Format Support).

Siebrand10:27, 6 May 2012

Sarah has suggested to move the help pages to gettext files for translation here. However, presuming that we managed to get them into a separate template file, could we then also have them in a separate group the way it is done with OpenStreetMap and potlatch? That way UI and help page messages aren't mixed, and translators could easier prioritise the UI.

Guttorm Flatabø (talk)12:52, 9 May 2012

Yup they would be in separate groups, but under one top-level group.

Nike (talk)14:26, 9 May 2012
 
 
 
 
 
 
 

Any progress?

Guttorm Flatabø (talk)11:31, 1 April 2012

Sorry about the delay.

I started working on it and i'll have updates very soon.

Amir E. Aharoni (talk)16:25, 2 April 2012

Are you going to work on this while you are away or should I pick it up?

Nike (talk)08:59, 6 April 2012