Submitted by gerdami
This package helps creating a multilingual website based on wikidot categories, i.e. each language is a category, includes and _templates.
The main principle is that all language pages share the same pagename, i.e. fr:pagename, en:pagename, es:pagename, etc. to help switching from a language version to another. "xy" is the generic term for any language iso code. The number of languages is only limited by the number of flags to display on screen.
The attached files come from the backup facility with category separator ":" replaced by "_" and ":_" by a double underscore "__". They also contain comments for implementation.
Pages
_template
en:
es:
fr:
include:
- include_language-flags.txt
- include_newpage.txt
- include_page-tags.txt
- include_pagetree.txt
- include_previous-next.txt
- include_tagcloud.txt
nav:
search:
system:
Zip
The whole stuff, just in case it was possible to upload all at once…
Real life example
- gerdami-multilingual.wikidot.com, a demo website
- handbook.wikidot.com, a real life example on which this package was based
How to use
- Install the package page to your site.
- Each language category has its own left sidebar nav:side-xy with a language dependant sitemap, a language dependant tagcloud and a newpage button to create a page in the current language, with parent equal to the language start page.
- Each language category has its own xy:_template and a newpage button to create a page in the current language, with parent equal to the current page. However, it is not ensured that an English page and a French page would share the same parent in the different language versions.
- Each language category has its own tagcloud and its own landing page xy:page-tags while the default system:page-tags has been adapted to the same layout.
- To add a new xy language, there is some housekeeping to do:
- Add a new xy:start page
- Edit include:language-flags and add a new language flag and why not a flag not hosted on the handbook…
- Clone the nav:side-en to the new nav:side-xy and change all en occurences to xy
- Clone the en:page-tags to the new xy:page-tags and change all en occurences to xy
- The search:site page has been modified to use Google Custom Element.
Who's watching this?
Packages
18 - Slim Chatroom (21 Nov 2009 04:20) [+2, ]
17 - James' Chatroom (18 Nov 2009 10:23) [+1, ]
16 - Minimal Editor CSS (31 Aug 2009 12:45) [+0, ]
15 - File Manager (28 Aug 2009 16:15) [+5, ]
14 - Debugger (16 Aug 2009 07:52) [+0, ]
13 - Custom Forum (15 Aug 2009 10:56) [+1, ]
12 - Image Include (02 Aug 2009 20:51) [+3, image include infobox picture]
11 - User profile & badges (27 Jul 2009 07:25) [+1, badge profiles user]
10 - Voting poll (26 Jul 2009 13:41) [+1, poll vote]
9 - Multilingual website (05 Jul 2009 10:49) [+2, handbook multilingual]
8 - Photo Gallery (28 Jun 2009 19:41) [+3, 1col gallery images photo]
7 - Squark's Blog (22 May 2009 12:06) [+4, 1col blog]
6 - Multilanguage petition (01 May 2009 13:50) [+1, 2col multilingual]
5 - News & comments (29 Apr 2009 08:44) [+1, 2col blog]
4 - Chatter category (28 Apr 2009 15:06) [+1, 2col]
3 - Simple issue tracker (28 Apr 2009 14:58) [+3, 2col tracker]
2 - Wiki category (28 Apr 2009 14:49) [+1, 2col]
1 - Legal framework (28 Apr 2009 14:33) [+2, 2col]
… by adding NL, for example.
Good luck.
Gerdami, it looks good, but I don't have the bandwidth to translate this into Dutch (and I'm actually not a native Dutch speaker so the results would be bizarre anyhow. Antwerps/Belgian/Brussels combo… :-)
Great work, I'm looking forward to trying it out.
Portfolio
Pieter,
1. I thought that you were Flemish..
2. If you look at the 4 files to clone, only the create button has to be translated.
However, the main problem with Wikidot is that it is too english-verbose, e.g. the search module: "pages and forum pages only forum only". The code source still contains hard-coded English messages that should be stored in localized configuration files.
@gerdami, I'm part Flemish but grew up in the UK.
As you say, Wikidot needs to be translateable. This is a project we've started working on, lower priority than other issues, but important anyhow.
Portfolio
Everything for German
Thanks avokado.
Not that difficult…
What exactly do you mean by install the package?
Is there a process for this or is it renaming these text files to a proper system name?
Recent Builds
Conky-PitStop
I think you are meant to use the one linked in the side-bar.
i.e. http://installer.wikidot.com/ (then click on "v3.0 Beta" in the menu)
~ Leiger - Wikidot Community Admin - Volunteer
Wikidot: Official Documentation | Wikidot Discord server | NEW: Wikiroo, made for Wikidot users (available early 2023)
Peter-ZA
What should we do with the flags for 11 languages ???
I would suggest to make that flexible … .
I like to use the old 4-Kleur, even though it may not be liked by many people, but is is distinct for the Afrikaans language, unlike the current or old South African flag, which will have to cater for all 11 languages !!!
Also see Wikipedia
Any suggestions?
Kind regards
Peter
Peter-ZA
Post preview:
Close preview