Loading...
 
Skip to main content

Custom Share Module 0.1dev

History: LanguageCzech

Preview of version: 28

Tiki in Czech


Here we discuss everything related to the Czech translation of Tiki.



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:

Copy to clipboard
this ([^\" ]*)",

Replace with: Return value of a BeanShell snippet

Copy to clipboard
" 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:

Copy to clipboard
"admin ([^\"]*) tpl",

Replace with:

Copy to clipboard
"\"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

Advanced
Information Version
Torsten Fabricius looks, like this could be what was be looked for - works with wikiplugin - why module is not pared? 30
View
Torsten Fabricius try Plugin Category 29
View
Torsten Fabricius Test module categories 28
View
Torsten Fabricius Test module categories 27
View
Torsten Fabricius Test module categories 26
View
Torsten Fabricius Test module categories 25
View
luciash d' being 🧙 24
View
gezza recategorized, added i18n header 23
View
luciash d' being 🧙 22
View
luciash d' being 🧙 21
View
gorn 20
View
luciash d' being 🧙 19
View
luciash d' being 🧙 18
View
luciash d' being 🧙 17
View
luciash d' being 🧙 16
View
docekal 15
View
docekal 14
View
luciash d' being 🧙 13
View
luciash d' being 🧙 + IRC kanál v ??eštin? (czech irc channel) 12
View
luciash d' being 🧙 11
View
luciash d' being 🧙 10
View
luciash d' being 🧙 9
View
luciash d' being 🧙 8
View
luciash d' being 🧙 2
View

Upcoming Events

1)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4) 
Tiki birthday
5)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting