xoops
XOOPS xLanguage Module Tutorial

Updated 2 years ago

XOOPS Documentation Series

Module xLanguage

for XOOPS 2.5.7

User Manual

© 2016 XOOPS Project (www.xoops.org)

Module Purpose

This module, xLanguage (eXtensible Multi-language content and character encoding Management plugin) handles displaying contents of different languages, like English, French and Chinese. Character encoding management also handles contents of different encoding sets for one language, like GB2312 (Chinese Simplified) and BIG5 (Chinese Traditional) for Chinese.

What xLanguage CAN do

1 displaying content of specified language based on user's dynamic choice 2 converting content from one character encoding set to another

What xLanguage can NOT do

1 xLanguage does NOT have the ability of translating content from one language to another one. You have to input contents of various languages by yourself 2 xLanguage does NOT work without adding one line to XOOPS/include/common.php (see guide below) 3 xLanguage does NOT have the ability of converting content from one character encoding to another if none of "iconv", "mb_string" or "xconv" is available.

Features

1 auto-detection of visitor's language on his first visitor 2 memorizing users' language preferences 3 switching contents of different languages/encoding sets on-fly 4 supporting M-S-M mode for character encoding handler

Figure 1: Main view of the xLanguage Module (Admin side)

Download/Fork the Module

You can fork the module --> here)

How to Contribute

You can contribute on GitHub. Changes will be pushed to Gitbook.io automatically when the main repository changes.

Editing the book can be done either by updating the markdown files with a text editor, or opening the repository in the Gitbook desktop app. The desktop app will give you a live preview option.

Table of Content

License:


Unless specified, this content is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

All derivative works are to be attributed to XOOPS Project (www.xoops.org)