History: Multilingual_Wiki

Preview of version: 17

Enables most multilingual wiki and assign the translation module.



Configuration code

YAML
preferences: feature_multilingual: y feature_translation: y featur_urgent_translation: y feature_multilingual_structures: y feature_best_language: y feature_detect_language: y quantify_changes: y freetags_multilingual: y wiki_page_regex: full # Support insertion of translated string in wiki markup wikiplugin_tr: y lang_use_db: y objects: - type: module data: position: right order: 20 name: switch_lang groups: [ Anonymous, Registered ] - type: module data: position: right order: 10 name: translation groups: [ Anonymous, Registered ]


After this profile is activated, you will notice a "translate" button on wiki pages. Once you translate wiki pages, you will start seeing (when relevant), the "translation" module which provides you information about the state of translation. You can see this in action over at: www.wiki-translation.com

Test plan

Below is a list of scenarios that needs to be tested for this profile. Eventually, they should be implemented as automated tests using Selenium.

Note: This test plan is still highly incomplete!


Last tested
  • Date: 2009-12-04
  • By who: Alain Désilets
  • Branch/Revision number: Tiki 4.x/r23661

Setting up the site for testing

  • Reinstall the DB, using Barebones profile
  • Install the Multilingual_Wiki profile
  • Set the default site languages as English. Set French and Spanish as alternative languages
    • Admin > i18n
    • Default Language: English
    • Click on the Restrict support languages checkbox.
    • A list of languages opens up. Holding down the Ctrl key, click on English, French and Spanish.
    • Change preferences button.

Switching between languages

Need to provide more details for the various scenarios

  • Go to a unilingual page
    • Make sure that the language picklist does not mention other languges
  • Go to a bilingual page (en and fr)
    • Use the language picklist to move between the two languages
  • Go to a trilingual page (en, fr, es)
    • Use the language picklist to move between the three languages

Language guessing

  • Login as test_user and set langauges preferences:
    • Set French as the first language, and English is the second language
  • Login as admin and set the site's default languges to English
  • Still as admin, make sure that the langauge guessing feature is enabled
  • Go to a page that is available in En and Fr
    • Make sure that by default, the page is displayed in Fr, even though the site's default language is En.

Testing custom translated strings

  • Create a custom translated string for FR
    • Admin > i18n > Customized String Translation tab
    • French > Edit
      • Replace the following line:
//"Hello"=>"My Hello",

      • With this
"will be translated automatically"=>"sera traduit automatiquement",

      • Save button.
    • NOTE: This may not be necessary??? English > Edit
      • Replace the following line:
//"Hello"=>"My Hello",

      • With this
"will be translated automatically"=>"will be translated automatically",

      • Save button.
  • Create a French page with that custom string in it
    • Create a page Page Francaise.
    • Enter following in it:
{TR()}will be translated automatically{TR}

    • Make sure it is a French page
      • Translate button, then
      • In Change language for this page section, choose French and then click on Change language button.
    • Go back to page Page Francaise, and verify that the English string is actually displayed in French, i.e. "sera traduit automatiquement".

History

Information Version
Tue 14 of Sep, 2010 01:33 GMT-0000 Marc Laporte Cleaner 39
Wed 04 of Aug, 2010 18:59 GMT-0000 Marc Laporte 38
Fri 29 of Jan, 2010 15:17 GMT-0000 alain_desilets 37
Fri 29 of Jan, 2010 14:49 GMT-0000 alain_desilets 36
Fri 29 of Jan, 2010 14:41 GMT-0000 alain_desilets 35
Wed 27 of Jan, 2010 20:22 GMT-0000 alain_desilets 34
Wed 27 of Jan, 2010 20:06 GMT-0000 alain_desilets 33
Tue 19 of Jan, 2010 23:51 GMT-0000 alain_desilets 32
Sat 16 of Jan, 2010 11:11 GMT-0000 alain_desilets 31
Sat 16 of Jan, 2010 11:08 GMT-0000 alain_desilets 30
Wed 06 of Jan, 2010 19:50 GMT-0000 alain_desilets 29
Wed 06 of Jan, 2010 19:45 GMT-0000 alain_desilets 28
Tue 05 of Jan, 2010 15:44 GMT-0000 alain_desilets 27
Tue 22 of Dec, 2009 13:21 GMT-0000 alain_desilets 26
Tue 22 of Dec, 2009 13:08 GMT-0000 alain_desilets 25
Fri 18 of Dec, 2009 20:20 GMT-0000 alain_desilets 24
Mon 07 of Dec, 2009 20:32 GMT-0000 alain_desilets 23
Fri 04 of Dec, 2009 21:00 GMT-0000 alain_desilets 21
Fri 04 of Dec, 2009 20:06 GMT-0000 alain_desilets 20
Fri 04 of Dec, 2009 20:00 GMT-0000 alain_desilets 19
Fri 04 of Dec, 2009 19:55 GMT-0000 alain_desilets 18
Fri 04 of Dec, 2009 19:51 GMT-0000 alain_desilets 17
Fri 04 of Dec, 2009 14:18 GMT-0000 alain_desilets 16
Fri 04 of Dec, 2009 14:14 GMT-0000 alain_desilets 15
Fri 04 of Dec, 2009 14:08 GMT-0000 alain_desilets 14
  • «
  • 1 (current)
  • 2