No description, website, or topics provided.
Clone or download
MonikaMuut Merge pull request #107 from papoms/master
German E-Mail Translation and minor main language changes
Latest commit 4ea5820 Apr 25, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md Update README.md Oct 3, 2015
ar.js add "Show preview" Feb 6, 2018
bg.js add "Show preview" Feb 6, 2018
da.js add "Show preview" Feb 6, 2018
de.email.js Create de.email.js Apr 24, 2018
de.js Update de.js Apr 24, 2018
en.admin.data All language tokens for moving and retiring threads Aug 4, 2015
en.email.json Added mistakenly removed en.email.json Jan 9, 2017
en.js add "Show preview" Feb 6, 2018
es.js add "Show preview" Feb 6, 2018
eu.js add "Show preview" Feb 6, 2018
fa.js add "Show preview" Feb 6, 2018
fi.email.json Create fi.email.json Mar 10, 2017
fi.js add "Show preview" Feb 6, 2018
fr.admin.data All language tokens for moving and retiring threads Aug 4, 2015
fr.js add "Show preview" Feb 6, 2018
he.js add "Show preview" Feb 6, 2018
hu.js add "Show preview" Feb 6, 2018
id.js add "Show preview" Feb 6, 2018
it.js add "Show preview" Feb 6, 2018
ja.js add "Show preview" Feb 6, 2018
ko.js add "Show preview" Feb 6, 2018
nl.js add "Show preview" Feb 6, 2018
no.js add "Show preview" Feb 6, 2018
package.json Adding package.json Nov 29, 2015
pl.js add "Show preview" Feb 6, 2018
pt-br.email.json Formatting fix Feb 1, 2017
pt-br.js add "Show preview" Feb 6, 2018
pt.js add "Show preview" Feb 6, 2018
ro.js add "Show preview" Feb 6, 2018
ru.js add "Show preview" Feb 6, 2018
se.admin.data Swedish translation Oct 13, 2017
se.email.json Swedish translation Oct 13, 2017
se.js add "Show preview" Feb 6, 2018
se.json Swedish translation Oct 13, 2017
sk.email.json Added Slovak language Aug 4, 2016
sk.js add "Show preview" Feb 6, 2018
ta.js add "Show preview" Feb 6, 2018
test.html Removal of admin tokens + switching to 2- space indent May 27, 2014
th.js add "Show preview" Feb 6, 2018
tr.email.json Create tr.email.json Sep 1, 2016
tr.js add "Show preview" Feb 6, 2018
tw.js add "Show preview" Feb 6, 2018
uk.js add "Show preview" Feb 6, 2018
zh.admin.data All language tokens for moving and retiring threads Aug 4, 2015
zh.js add "Show preview" Feb 6, 2018

README.md

Muut language files

Muut's default language is English. The English localization consists of three files:

  1. en.js: the client's text content in English ('All posts', 'Online', 'Reply...' etc.)
  2. en.auth.js: the authentication windows' text content in English ('log in', 'join', 'forgot password'...)
  3. en.email.json: Email notifications' text content in English ('New activity', 'Click to view all replies'...)

To create a new localization you need to:

  1. Fork this repository
  2. Copy the English localization files and rename them with the target language code: For example ru.js and ru.auth.js.
  3. Open the copied files on your text editor and replace the English words with the new language
  4. Send us a pull request

Wait, forking, pull request!?!

If forking makes no sense you can just save these files

https://raw.github.com/muut/language/master/en.js

https://raw.github.com/muut/language/master/en.auth.js

https://raw.github.com/muut/language/master/en.email.json

on your PC and then proceed with steps 2 and 3 above. Then send the modified files to tero@muut.com.

Updates

Muut is constantly updating and improving. Your language files will get English placeholders added at the top when new content is added. See for example es.js. Please update the new language by making a pull request or send the updates directly to tero@muut.com. Thank you!

Testing

You can test your new localization by opening the test.html file on your browser and supplying the language code on the query string. For example:

test.html?ru

The client should now use your language. Note that you should serve the test.html file from a local webserver (localhost) and not directly from the file system (file:// protocol). This way the avatars are displayed correctly and you can debug the language of the authentication pieces too.

Note If you see badly rendered characters then the language file is not encoded in UTF-8 format. These commands fix the issue in OSX:

iconv -f ISO-8859-1 -t utf-8 ru.js > ru8.js && mv ru8.js ru.js
iconv -f ISO-8859-1 -t utf-8 ru.auth.js > ru.auth8.js && mv ru.auth8.js ru.auth.js

Style guide

A few things to keep in mind:

  1. Keep sentences short! The more concise the better.
  2. Try to find the most natural way to say it in your language — don't just directly translate the English words.
  3. Google Translate works well for individual words, but you know the precise sentences better.

Thanks! We appreciate the help.