Jump to content

integrate with ShareLaTeX.com

integrate with ShareLaTeX.com

Hi,

I would like to integrate ShareLaTeX.com with translatewiki, I have set up a github repo to hold the JSON files, currently there is the en-US.json and qqq.json files in there. https://github.com/sharelatex/translations-sharelatex the integration with the actual website has been started on https://github.com/sharelatex/web-sharelatex/commits/i18n

Please let me know what else I need todo.

We have quite a few people who want to translate the site for us so I would like to be able to point them towards translatewiki to get started while we have momentum :)

Thanks

Henry

Henryoswald (talk)17:47, 26 March 2014
  1. Is the i18n system implemented now, or are you still working on some part of it?
  2. Did you already give @siebrand and @nikerabbit push access on that repo?
  3. It would be helpful if you had a unified licensing statement somewhere, or consistent licensing headers/attachments. I can't find any on the website, I couldn't find LICENSE or COPYING files on the first two repos I checked, one had something in the README.
Nemo (talk)13:07, 3 April 2014
 

For clarification of 'started', the integration with a i18n lib and json files is done. We are now currently updating all our views to have new styles and layouts which handle with different sizes of text much better than the current layouts.

Getting the translations done next would be the best thing for us so we can test that the different texts are all readable/accessible to all languages.

Henryoswald (talk)13:08, 3 April 2014

We were both replying at the same time.

1) should be answered in previous reply. Yes it is implemented, we just need to update the views but we would prefer todo this with the translations of a few languages ready so we can do a better job. 2) I have now given access 3) our code repos are AGPL, it has that linked to in the wiki of the web project but not in the actual repo (will fix). Do you have a preferred licence for the translations repo? I have not thought about this.

So I understand the process, I assume that things are automatically push to the repo, its not a manual process by @siebrand or @nikerabbit each time?

Henryoswald (talk)13:45, 3 April 2014
  1. Yes sorry, edit conflict. :)
  2. Thanks.
  3. AGPL is fine, any OSI-approved license is ok. But it needs to be clear in all repos, so that our translators (and me) easily find out.

It's not (yet) automated, only semi-automated. Updates are pushed at semi-regular intervals depending on how many new translations/messages there are.

Nemo (talk)14:02, 3 April 2014

Hey,

I have licensed the translations repo under MIT which should be ok. Other repos such as the web one have semi complicated OS licences, look at the readme for details.

Henryoswald (talk)15:33, 3 April 2014

Thanks. "Semi complicated OS licences" is not particularly helpful I must say... In your example, I see IconShock icons are just fair use? Debian would not be amused but we're not as strict, let's forget it. But I don't see any default license for files other than *.coffee, *.less and silk icons: what's the license for all the tex, json, jpeg, js etc. etc. files I see in there? Forgive me the nitpicks, better safe than sorry. :)

Nemo (talk)16:59, 3 April 2014

Hey,

I understand this is worth getting correct from the start. This project didn't start out being open source, originally it was just a little side project to learn some new techniques but then it grew! I have updated the licence, https://github.com/sharelatex/web-sharelatex/blob/master/README.md let me know if thats good for you.

Henryoswald (talk)13:11, 4 April 2014

Thanks, looks ok. Sorry for the legal screening, now time for Siebrand's ultimate i18n review.

Nemo (talk)07:58, 7 April 2014

Hi,

is there any update on this?

Henryoswald (talk)09:02, 10 April 2014

For reference for this thread, I submitted a patchset gerrit:132683.

SPQRobin (talk)14:01, 10 May 2014
 

@Henryoswald: the already existing translations are de, fr-FR, and en-US. For consistency it might be best to use language-only locales (i.e. fr, en, ...) when there are no separate versions for countries (yet). This is also what translatewiki.net is used to. Were the FR and US tags deliberately used?

SPQRobin (talk)22:11, 10 May 2014

Henryoswald, we're almost ready to enable ShareLaTeX.com, thanks to Robin. He identified there are only three more things to do: «

  • The messages in the attribution page (at the end) may not work in all languages since the links are excluded
  • Language code harmonization: there's de, en-US, fr-FR; it would be best to always use root codes
  • A lot of Camel Case words, I'd prefer normal capitalization

»

Nemo (talk)21:38, 20 May 2014