Mengatur Situs Multibahasa/Membuat sebuah Bahasa Konten
From Joomla! Documentation
< J3.x:Setup a Multilingual Site
Bagaimana mengatur sebuah Situs Multibahasa Joomla!
Artikel dalam Seri ini
- Pendahuluan
- Langkah 1: Memasang sebuah bahasa baru
- Langkah 2: Membuat sebuah Bahasa Konten
- Langkah 3: Mengaktifkan Plugin Bahasa
- Langkah 4: Menambah Konten Bermultibahasa
- Langkah 5: Membuat Menu untuk Konten Bermultibahasa
- Langkah 6: Menduplikasi Templat anda untuk masing-masing Bahasa
- Langkah 7: Menambah sebuah Pengganti Bahasa
- Langkah 8: Menelusuri situs multibahasa
Joomla! memberikan anda kemampuan untuk membuat sebuah situs web multibahasa, tanpa harus memasang ekstensi dari pihak ketiga. Dalam tutorial ini, anda akan temukan langkah-langkah yang terkait dalam pembuatan sebuah situs Joomla! multibahasa.
Step 2 - Creating a Content Language
Joomla automatically creates a Content Language. You can change the appropriate details for this language if you want. To do this, you need to edit the Content Language. It's a bit like a "language profile", containing all the details needed by Joomla! to be able to use either the English or the French language as "switchable" content languages.
- In the Language Manager screen, click on Content Languages in the left sidebar. You will see the Content Languages available.
- Click the button New or select an existing Titel.
- In the Edit Content Language screen, change the details for the language:
- Title: Français (FR). This is the language name as it will appear in the lists.
- Title Native: Français (FR). This the original language name. This title will be displayed in the Language Manager, in the list of Content Languages.
- Language Tag: fr-FR. This should be the exact prefix used for the language installed (or to be installed). It consists of the language code (in lowercase), an hyphen and the country code (in uppercase). If you’re not sure about the Language Tag, you can find it next to the language name in the list of installed site languages in the Language Manager.
- URL Language Code: fr. This is the code Joomla! will append to the site URLs. In our example, the output will be:
www.example.com/fr/
if SEF is activated (if SEF is disabled, the output will be&lang=fr
). Each installed language must have a unique code. - Image Prefix: select fr. Joomla! uses this code to display a country flag image enabling the visitor to select a site language. When fr is selected, Joomla! will display the flag image fr.gif located in the folder media/mod_languages/images/.
- Status: this should be set to Published.
- Access: this should be set to Public.
- Click Save & Close. The Content Language profile is now ready!