History: LanguageCzech
Preview of version: 21
Here we discuss everything related to the Czech translation of TikiWiki
Using JEdit and regexps for translation
You can use JEdit and its Search and Replace feature to make the process of translation much easier and faster. Amongst the common text match and replace you can search strings using more powerful regular expressions and replace the matches with a so called BeanShell snippet. I'm using for example this setting in the Search and Replace dialog (Ctrl+F):
Example 1
Search for:
this ([^\" ]*)",
Replace with: Return value of a BeanShell snippet
" tuto (tento/toto) "+_1+"\","
Search in: Current buffer
Settings: Keep dialog, Regular expressions
Direction: Auto wrap
Then I do prefer to control visually what's happening by clicking "Find" button first and then "Replace & Find" until all matches are replaced or you can click "Replace All" when you're sure what you're doing 😉.
This example will match all untranslated strings on lines such as:
// "monitor this map" => "monitor this map",
// "stop monitoring this map" => "stop monitoring this map",
// "Edit this genre:" => "Edit this genre:",
and replace them with:
// "monitor this map" => "monitor tuto (tento/toto) map",
// "stop monitoring this map" => "stop monitoring tuto (tento/toto) map",
// "Edit this genre:" => "Edit tuto (tento/toto) genre:",
Another example:
Search for:
"admin ([^\"]*) tpl",
Replace with:
"\"nastav tpl pro "+_1+"\","
This example will do e.g. the next:
// "admin cache tpl" => "nastav tpl pro cache",
// "admin Banners tpl" => "nastav tpl pro Banners",
// "admin live support tpl" => "nastav tpl pro live support",
etc.
History
| Information | Version | |||||
|---|---|---|---|---|---|---|
| Torsten Fabricius looks, like this could be what was be looked for - works with wikiplugin - why module is not pared? | 30 | |||||
| Torsten Fabricius try Plugin Category | 29 | |||||
| Torsten Fabricius Test module categories | 28 | |||||
| Torsten Fabricius Test module categories | 27 | |||||
| Torsten Fabricius Test module categories | 26 | |||||
| Torsten Fabricius Test module categories | 25 | |||||
| luciash d' being 🧙 | 24 | |||||
| gezza recategorized, added i18n header | 23 | |||||
| luciash d' being 🧙 | 22 | |||||
| luciash d' being 🧙 | 21 | |||||
| gorn | 20 | |||||
| luciash d' being 🧙 | 19 | |||||
| luciash d' being 🧙 | 18 | |||||
| luciash d' being 🧙 | 17 | |||||
| luciash d' being 🧙 | 16 | |||||
| docekal | 15 | |||||
| docekal | 14 | |||||
| luciash d' being 🧙 | 13 | |||||
| luciash d' being 🧙 + IRC kanál v ??eštin? (czech irc channel) | 12 | |||||
| luciash d' being 🧙 | 11 | |||||
| luciash d' being 🧙 | 10 | |||||
| luciash d' being 🧙 | 9 | |||||
| luciash d' being 🧙 | 8 | |||||
| luciash d' being 🧙 | 2 | |||||