Contribute translations: Difference between revisions

From diaspora* project wiki
(update)
(cleanup)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
__NOEDITSECTION__
__NOEDITSECTION__
{{Languages}}
== Tools used to translate ==
== Tools used to translate ==


Line 21: Line 19:


# First go to [https://webtranslateit.com/en/sign_up WebTranslateIt] and create/sign-in to your account.
# First go to [https://webtranslateit.com/en/sign_up WebTranslateIt] and create/sign-in to your account.
# Then go to [https://webtranslateit.com/en/projects/3020-Diaspora the project site for Diaspora], [https://webtranslateit.com/en/projects/10365-JSXC JSXC (Chat frontend)] and/or [https://webtranslateit.com/en/projects/7017-Website the project site for diasporafoundation.org] and join the team.
# Then go to [https://webtranslateit.com/en/projects/3020-Diaspora the project site for Diaspora] and/or [https://webtranslateit.com/en/projects/7017-Website the project site for diasporafoundation.org] and join the team.
# Choose your language or suggest a new one and request an invitation.
# Choose your language or suggest a new one and request an invitation.
# You'll receive an email containing a link to accept your invitation. Once you have gotten the mail and clicked on the link you'll see something like this:
# You'll receive an email containing a link to accept your invitation. Once you have gotten the mail and clicked on the link you'll see something like this:
Line 34: Line 32:
* es-VE: [https://github.com/ruby-ve team]
* es-VE: [https://github.com/ruby-ve team]
* gl: [http://trasno.net/ team]
* gl: [http://trasno.net/ team]
* sq: [https://github.com/ujdhesa maintainer]
==== diaspora/diaspora-project-site ====
Complete me!
==== diaspora/jsxc ====
Complete me!


== I want to add a new language to diaspora*! ==
== I want to add a new language to diaspora*! ==
Line 58: Line 47:
=== Hardcoded string ===
=== Hardcoded string ===


There is probably some missing strings which are still untranslatable in diaspora*. If you want to fix those feel free, but only add the new key to <tt>en.yml</tt>/<tt>devise.en.yml</tt>/<tt>javascript.en.yml</tt>.
There is probably some missing strings which are still untranslatable in diaspora*. If you want to fix those feel free, but only add the new key to <tt>en.yml</tt>/<tt>devise.en.yml</tt>/<tt>javascript.en.yml</tt>. Or you can simply [https://github.com/diaspora/diaspora/issues/new create an issue on GitHub].
 
== Translating the wiki ==
 
If you want to translate a page in the wiki make sure to include [[Template:Languages]] at '''the top'''. Then click on the red link for your language and start translating. If your language isn't yet in the template, feel free to add it.
 
For more discussion around translating the wiki please have a look at [https://discourse.diasporafoundation.org/t/translating-the-wiki/228 this Discourse discussion].


Thank you for contributing!
Thank you for contributing!

Latest revision as of 21:07, 13 June 2020

Tools used to translate

WebTranslateIt

Join the team!
Request an invite
Accept the invitation
Start translating!

We use WebTranslateIt to manage translation.

There are two projects for Diaspora on WebTranslateIt.

If you want to contribute to translation, you need to register to WebTranslateIt.

  1. First go to WebTranslateIt and create/sign-in to your account.
  2. Then go to the project site for Diaspora and/or the project site for diasporafoundation.org and join the team.
  3. Choose your language or suggest a new one and request an invitation.
  4. You'll receive an email containing a link to accept your invitation. Once you have gotten the mail and clicked on the link you'll see something like this:
  5. After you accepted it you can click on the "Translations" tab and start translating.

Github

Some languages are not handled inside WebTranslateIt. You will need to use Github and open a pull request to contribute to those.

diaspora/diaspora

I want to add a new language to diaspora*!

First look if you could find an existing translation.

If you have to create a new one inform a project manager so that they create the new language for you. As soon as the new language was created you can start translating.

General notes

Languages with high inflection and grammar different to English

We integrated the awesome extensions siefca made for Rails and the i18n gem: i18n-inflector and i18n-inflector-rails. Based on what the user has written into the gender field and our definitions the gender is guessed. Look at the readme of i18n-inflector for more documentation on how to use them. You can use the named patterns easily via WebTranslateIt if you want to do so. However if you want to contribute a definition please make a pull request.

Hardcoded string

There is probably some missing strings which are still untranslatable in diaspora*. If you want to fix those feel free, but only add the new key to en.yml/devise.en.yml/javascript.en.yml. Or you can simply create an issue on GitHub.

Thank you for contributing!