6 - Multilanguage petition

Submitted by pieterhpieterh

This package provides a multilanguage petition where users can contribute translations that are reviewed before being installed. The template handles around 40 languages.

Pages:

  • admin_petition - petition admin screen, to "admin:petition"
  • en - "Petition" original in English, to "petition:en"
  • _template - main template, to "petition:_template"
  • _translate - "Translate the petition" - to "translate:_template"

Languages supported

English (en) — اللغة العربية (ar) — Беларуская (be) — Български (bg) — Català (ca) — Deutsch (de) — Dansk (dk) — Español (es) — Eesti (et) — Euskara (eu) — فارسی (fa) — Suomi (fi) — Français (fr) — 简体中文版 (hans) — 繁體中文版 (hant) — עברית (he) — हिन्दी (hi) — Magyar (hu) — Hrvatski (hr) — Galego (ga) — Ελληνικά (gr) — Bahasa Indonesia (id) — Italiano (it) — 日本語 (ja) — ქართული (ka) — 한국말 (ko) — Lietuvių (lt) — Latviešu (lv) — Македонски (mk) — Bahasa Malaysia (my) — Norsk Bokmål (nb) — Nederlands (nl) — Norsk Nynorsk (nn) — Polski (pl) — Português (pt) — Português do Brasil (pt-br) — Română (ro) — Русский (ru) — Svenska (se) — Slovenčina (sk) — Slovenščina (sl) — Shqip (sq) — Srpski (sr) — ภาษาไทย (th) — Türkçe (tr) — Український (uk) — Việt (vi)

Real life example

The Digistan project uses this petition package for its Hague Declaration petition.

How to use

  • Install the admin:petition page
  • Create your petition, called "petition"
  • Edit and install the petition:en page with your English petition text
  • Create the petition template in translate:_template
  • Set your permissions to allow Wikidot users to create new pages in the translate category
  • Use code like this on your main page - e.g. in the right hand column:
++ >> [[[petition:en| Sign the Petition]]]

[[module PetitionList id="petition" limit="3"]]

Translation

Users submit translations, which you review and then move to the petition: category. To make them accessible you edit the petition:_template and move the language from the "Translate" list to the "Choose language" list, changing 'translate:' to 'petition:'.

Dependencies

This package depends on the legal framework package.

Installer script

Allows automatic installation. Use the URL http://packages.wikidot.com/package:6/code/2 for "Package source".

##page page="admin:petition"|title="Manage Petition"|file="http://packages.wdfiles.com/local--files/package:6/admin_petition" ##
##### break
##page page="petition:en"|title="English"|file="http://packages.wdfiles.com/local--files/package:6/en" ##
##### break
##page page="petition:_template"|title="Sign Our Petition!"|file="http://packages.wdfiles.com/local--files/package:6/_template" ##
##### break
##page page="translate:_template"|title="Translate the petition!"|file="http://packages.wdfiles.com/local--files/package:6/_translate" ##
##### break
## msg msg="You have installed package:6. You will be redirected to further instructions" ##
##### break
## die redir="http://packages.wikidot.com/package:6" ##
##### break
Add a New Comment
or Sign in as Wikidot user
(will not be published)
- +

Edit | Tags | Source | Print

rating: +1+x

Who's watching this?

pieterhpieterh
gerdamigerdami
VittekVittek
Ed JohnsonEd Johnson
avokadoavokado
MRichrathMRichrath
DivanDivan
ValAerynValAeryn
RobElliottRobElliott
Wayne HildrethWayne Hildreth
arbitragearbitrage
DWK25DWK25
leigerleiger
Peter-ZAPeter-ZA
Arotaritei VladArotaritei Vlad
nagamiinagamii
DrbmusicDrbmusic
appliquetionappliquetion
BRANDONBYRONBRITTONBRANDONBYRONBRITTON
Joshua DarbyJoshua Darby
Watch: site | category | page

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]

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License