| |
| | |

CodersClub

 Forgot password?
 Register
Search
View: 4222|Reply: 7
Collapse the left

multi language no display

[Copy link]

 Malaysia

Post time: 2013-07-22 20:11
| Show all posts |Read mode
i upload the multi language and update it, it appear in english
but didnt show country flag for change language... how?

my site is www.yakoo.asia

another error all english word is show !message! can check for me?

 Palestine

Post time: 2013-07-22 20:30
| Show all posts
Are you sure upload all files
Post time: 2013-07-22 22:52
| Show all posts
open

../config/config_global.php

find
  1. $_config['detect_language'] = 1;
Copy the Code
replace to
  1. $_config['detect_language'] = 0;
Copy the Code

 Russia

Post time: 2013-07-23 07:14
| Show all posts
Open the file: config_global_default.php
Copy the next content from that file to the bottom of your config_global.php
(before the ending ?> )
  1. //-----------------------------------------------------------------------
  2. // Multi-Lingual support by Valery Votintsev
  3. //-----------------------------------------------------------------------
  4. // "icon" - flag image file name;
  5. // "name" - language name in NATIONAL language;
  6. // "title" - language name in ENGLISH language;
  7. // "dir" - text direction:
  8. //        'ltr' (Left To Right)
  9. //        'rtl' (Right To Left), i.e for Arabic, Hebrew, Urdu, etc.
  10. //-----------------------------------------------------------------------
  11. // Uncomment a language line for enable the language!
  12. // Comment a language line that is not required!!!
  13. //
  14. // Enabled Language List:

  15. $_config['languages'] = array(
  16.         'ar' => array('icon'=>'ar.gif', 'name'=>'العربية', 'title'=>'Arabic', 'dir'=>'rtl', 'code'=>'ar-AE'),
  17.         'de' => array('icon'=>'de.gif', 'name'=>'Deutsch', 'title'=>'German', 'dir'=>'ltr', 'code'=>'de-DE'),
  18.         'en' => array('icon'=>'en.gif', 'name'=>'English', 'title'=>'English', 'dir'=>'ltr', 'code'=>'en-GB'),
  19.         'es' => array('icon'=>'es.gif', 'name'=>'Español', 'title'=>'Spanish', 'dir'=>'ltr', 'code'=>'es-ES'),
  20.         'fr' => array('icon'=>'fr.gif', 'name'=>'Français', 'title'=>'French', 'dir'=>'ltr', 'code'=>'fr-FR'),
  21.         'kr' => array('icon'=>'kr.gif', 'name'=>'한국어', 'title'=>'Korean', 'dir'=>'ltr', 'code'=>'ko-KO'),
  22.         'pl' => array('icon'=>'pl.gif', 'name'=>'Polski', 'title'=>'Polish', 'dir'=>'ltr', 'code'=>'pl-PL'),
  23.         'ru' => array('icon'=>'ru.gif', 'name'=>'Русский', 'title'=>'Russian', 'dir'=>'ltr', 'code'=>'ru-RU'),
  24.         'sc' => array('icon'=>'zh.gif', 'name'=>'简体中文', 'title'=>'Simplified Chinese', 'dir'=>'ltr', 'code'=>'zh-CN'),
  25.         'tc' => array('icon'=>'tw.gif', 'name'=>'繁體中文', 'title'=>'Traditional Chinese', 'dir'=>'ltr', 'code'=>'zh-TW'),
  26.         'th' => array('icon'=>'th.gif', 'name'=>'ภาษาไทย', 'title'=>'Thai', 'dir'=>'ltr', 'code'=>'th-TH'),
  27.         'tr' => array('icon'=>'tr.gif', 'name'=>'Türkçe', 'title'=>'Turkish', 'dir'=>'ltr', 'code'=>'tr-TR'),
  28.         'vn' => array('icon'=>'vn.gif', 'name'=>'Tiếng Việt', 'title'=>'Vietnamese', 'dir'=>'ltr', 'code'=>'vi-VN'),
  29. );
  30. $_config['detect_language'] = true;        // Auto-detect user language: true|false
  31. $_config['enable_multilingual'] = true;        // Enable/Disable multi-lingual feature
Copy the Code
Additionally find and set these variables in your config_global.php:
  1. $_config['db'][1]['dbcharset']         = 'utf8';        // DB Charset
  2. $_config['output']['charset']                 = 'utf-8';        // Page character set
  3. $_config['output']['forceheader']        = 1;                // Force the output in defined character set, used to avoid page content garbled
  4. $_config['output']['language']                 = 'en';                // Page language sc/tc/en/...
Copy the Code

 Malaysia

 Author| Post time: 2013-07-23 09:33
| Show all posts
if install new forum it appear perfect, but if upgrade... sql database will appear error when begining to update.php

 Palestine

Post time: 2013-07-23 09:49
| Show all posts
jlloke82 2013-7-23 08:33
if install new forum it appear perfect, but if upgrade... sql database will appear error when begini ...

Can you post the error that show to you ?

 Russia

Post time: 2013-07-23 10:05
| Show all posts
Unfortunately the topicstarter did not report us any info about his old installed engine

  • What the Discuz version/release was installed before upgrade?
  • What the database encoding was used before?
  • What the charset was used for output pages?
  • What the data contained in old config_global.php?
  • What the plugins/modules/hacks/templates was installed before?

 Malaysia

 Author| Post time: 2013-07-24 08:56
| Show all posts
yeah, i know what the problem,
i update and it didnt go to complete but it stop on half
after all show error code.
now it is solved
You have to log in before you can reply Login | Register

Points Rules

Archive|Mobile|Dark room|CodersClub

Top.Mail.Ru
Top.Mail.Ru

2024-11-23 10:16 GMT+3 , Processed in 0.070709 sec., 8 queries .

Powered by Discuz! X3.4 Release 20230520

© 2001-2024 Discuz! Team.

MultiLingual version, Rev. 4301, © codersclub.org

Quick Reply To Top Return to the list