-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 9a6cfe5
Showing
100 changed files
with
111,166 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
Translating TiddlyWiki | ||
====================== | ||
|
||
Are you you thinking of writing a translation for TiddlyWiki? That is fantastic: it will make a real difference to the community. This page is here to get you going. | ||
|
||
If you have any questions you would like addressed, please contact [email protected]. | ||
|
||
|
||
How to create or update a translation of TiddlyWiki | ||
--------------------------------------------------- | ||
|
||
1. First, check below to see if the translation you need already exists. | ||
2. Download a fresh copy of TiddlyWiki from http://www.tiddlywiki.com/ | ||
3. In another window, visit https://github.com/TiddlyWiki/tiddlywiki/blob/master/locales/core/en/locale.en.js and copy all the text to the clipboard | ||
4. Go back to the TiddlyWiki file and create a tiddler named after the language you are translating | ||
5. Paste the clipboard into the body of the new tiddler | ||
6. Add the tag "systemConfig" to the tiddler | ||
7. Click 'done' and save your changes | ||
8. Study the entries you've pasted and replace the various quoted English strings (only the ones in double-quotes!) with their translations | ||
9. Save and reload to test | ||
10. The "config.locale" in your translation-tiddler is used to set the W3C language tags in your HTML automatically, but since this reload is the first time your translation is executed, only now these tags are actually updated. Therefore you have to save your TW once again. | ||
|
||
|
||
Useful links | ||
------------ | ||
|
||
[W3C Internationalization Best Practices](http://www.w3.org/TR/i18n-html-tech-lang/) | ||
|
||
http://www.w3.org/International/articles/language-tags/Overview.en.php | ||
|
||
http://www.loc.gov/standards/iso639-2/php/code_list.php | ||
|
||
http://www.iana.org/assignments/language-subtag-registry |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
recipe: ../../../../core/tiddlywiki.html.recipe | ||
tiddler: locale.ca.js |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
recipe: ../../../../core/tiddlywiki.html.recipe | ||
tiddler: locale.cs.js |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
title: locale.cs | ||
modifier: Petr Chlebek | ||
modified: 200707060000 | ||
created: 200706160000 | ||
tags: systemConfig excludeLists excludeSearch |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
recipe: ../../../../core/tiddlywiki.html.recipe | ||
tiddler: locale.el.js |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
title: locale.el | ||
modifier: Spyros Kroustalakis | ||
modified: 200705060000 | ||
created: 200705060000 | ||
tags: systemConfig excludeLists excludeSearch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<div title="Credits" modifier="MartinBudden"> | ||
<pre>TiddlyWiki was translated into English by Joe Bloggs with help from John and Jane Doe. | ||
|
||
Thanks also to Fred Nurk, Chan Siu Ming, Vasya Pupkin, Fulano de Tal and Nguoi La who all made significant contributions. | ||
</pre> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<div title="DefaultTiddlers" modifier="MartinBudden" tags="excludeLists excludeSearch"> | ||
<pre>[[TranslatedGettingStarted]] | ||
[[Credits]] | ||
[[DownloadSoftware]]</pre> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<div title="DownloadSoftware" modifier="JeremyRuston"> | ||
<pre>Because TiddlyWiki is a single HTML file, you've actually already downloaded the entire software just by viewing this site. If you want to be able to SaveChanges, you can save your own blank TiddlyWiki to your local drive by right clicking on [[this link to empty.html|empty.html]] and selecting 'Save link as...' or 'Save target as...'. You can choose where to save the file, and what to call it (but make sure that it's saved in HTML format and with an HTML extension). | ||
|
||
@@There can be confusing and subtle differences between different browsers. Some points to watch:@@ | ||
* Do ''not'' use the File/Save command in your browser to save TiddlyWiki, because of SaveUnpredictabilities. | ||
* Make sure that you're saving in HTML (or "page source" format), not one of the new-fangled archive formats | ||
If you're already using TiddlyWiki, see HowToUpgrade. If you want to save a complete copy of this site, including all the instructions and other text, you can use this [[this link|index.html]].</pre> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<div title="TranslatedGettingStarted" modifier="MartinBudden"> | ||
<pre>To get started with this blank TiddlyWiki, you'll need to modify the following tiddlers: | ||
* SiteTitle & SiteSubtitle: The title and subtitle of the site, as shown above (after saving, they will also appear in the browser title bar) | ||
* MainMenu: The menu (usually on the left) | ||
* DefaultTiddlers: Contains the names of the tiddlers that you want to appear when the TiddlyWiki is opened | ||
You'll also need to enter your username for signing your edits: <<option txtUserName>></pre> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<div title="OptionsPanel" modifier="MartinBudden" tags="excludeLists excludeSearch"> | ||
<pre>These Interface Options for customising TiddlyWiki are saved in your browser | ||
|
||
Your username for signing your edits. Write it as a WikiWord (eg JoeBloggs) | ||
<<option txtUserName>> | ||
|
||
<<option chkSaveBackups>> Save backups | ||
<<option chkAutoSave>> Auto save | ||
<<option chkRegExpSearch>> Regexp search | ||
<<option chkCaseSensitiveSearch>> Case sensitive search | ||
<<option chkAnimate>> Enable animations | ||
|
||
---- | ||
Also see [[TranslatedAdvancedOptions|AdvancedOptions]]</pre> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
recipe: ../../../../core/tiddlywiki.html.recipe | ||
tiddler: locale.en.js | ||
shadow: GettingStarted.tiddler | ||
shadow: OptionsPanel.tiddler | ||
tiddler: Credits.tiddler | ||
tiddler: DefaultTiddlers.tiddler | ||
tiddler: DownloadedSoftware.tiddler |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
recipe: ../../../../core/tiddlywiki.html.recipe | ||
tiddler: locale.en.js |
Oops, something went wrong.