View Thread
All MODs and their Supported Threads goes here in this Section.
[MOD] Switch DB tables to other language with Language Switcher
|
|
Wanabo |
Posted on 22-12-2012 19:17
|
Super Admin Posts: 30 Joined: 27/12/2010 |
When you use the Language Switcher you only switch to another set of locale files. Unfortunately the locale files in your infusions folder won't change accordingly. Also the navigation panel (site links) stores the description in the database, these won't change either. If you want your language switcher to include navigation and infusion translation then follow the instructions. There are three things to do:
1. See attached file. 2. Make copies of fusion_site_links table, rename the table to Mizo_site_links or Hindi_site_links or what ever locale directory you have. It is important that LOCALE in LOCALE_site_links is an exact match to the name of the locale directory you use. Edit the contents of the LOCALE_site_links table accordingly to the language you want. (field link_name, leave other fields untouched) 3. Upload navigation.zip or modify yourself. Find: /infusions/navigation_panel/navigation_panel.php
And replace with:
4. Modify the infusions you want so you can use the selected language. Make sure you have a locale file with the exact name as the locale in locale directory. For example: Mizo.php Hindi.php. I've copied the original English.php and renamed it. Translate the contents. Use the attached shoutbox.zip or modify yourself. Mod to Shoutbox: /infusions/shoutbox/shoutbox_panel.php Find:
And replace with:
Use the attached lastseenusers.zip or modify yourself. Mod to Last seen users: /infusions/last_seen_users_panel/last_seen_users_panel.php Find:
Replace with:
Wanabo attached the following files:
|
|
|
Creator |
Posted on 22-12-2012 19:19
|
Admin Posts: 17 Joined: 20/12/2012 |
Great. Edited by Creator on 23-12-2012 04:20 |
|
|
Creator |
Posted on 06-01-2013 08:52
|
Admin Posts: 17 Joined: 20/12/2012 |
I cannot find mwp_language_switcher_panel for download. |
|
|
Wanabo |
Posted on 06-01-2013 10:10
|
Super Admin Posts: 30 Joined: 27/12/2010 |
It is attached to my previous post called "language_switcher_v1.zip".
|
|
Jump to Forum |
Use BBcode or HTML to refer to; '[MOD] Switch DB tables to other language with Language Switcher'
BBcode: | |
HTML: |