| |
| | |

CodersClub

 Forgot password?
 Register
Search
View: 4921|Reply: 1
Collapse the left

How to reorder languages?

[Copy link]
Post time: 2013-02-23 11:18
| Show all posts |Read mode
How to change the language button order?
i set the language order through admin panel, but it doesn't work.

 Russia

Post time: 2013-02-23 12:15
| Show all posts
Just reorder lines in your config_global.php:
  1. // -------------------------  CONFIG LANGUAGES  ------------------------- //
  2. $_config['languages']['ar']['icon'] = 'ar.gif';
  3. $_config['languages']['ar']['name'] = 'العربية';
  4. $_config['languages']['ar']['title'] = 'Arabic';
  5. $_config['languages']['ar']['dir'] = 'rtl';
  6. $_config['languages']['sc']['icon'] = 'zh.gif';
  7. $_config['languages']['sc']['name'] = '简体中文';
  8. $_config['languages']['sc']['title'] = 'Simplified Chinese';
  9. $_config['languages']['sc']['dir'] = 'ltr';
  10. $_config['languages']['tc']['icon'] = 'tw.gif';
  11. $_config['languages']['tc']['name'] = '繁體中文';
  12. $_config['languages']['tc']['title'] = 'Traditional Chinese';
  13. $_config['languages']['tc']['dir'] = 'ltr';
  14. $_config['languages']['de']['icon'] = 'de.gif';
  15. $_config['languages']['de']['name'] = 'Deutsch';
  16. $_config['languages']['de']['title'] = 'Deutsch';
  17. $_config['languages']['de']['dir'] = 'ltr';
  18. $_config['languages']['en']['icon'] = 'en.gif';
  19. $_config['languages']['en']['name'] = 'English';
  20. $_config['languages']['en']['title'] = 'English';
  21. $_config['languages']['en']['dir'] = 'ltr';
  22. $_config['languages']['fr']['icon'] = 'fr.gif';
  23. $_config['languages']['fr']['name'] = 'Français';
  24. $_config['languages']['fr']['title'] = 'French';
  25. $_config['languages']['fr']['dir'] = 'ltr';
  26. $_config['languages']['kr']['icon'] = 'kr.gif';
  27. $_config['languages']['kr']['name'] = '한국어';
  28. $_config['languages']['kr']['title'] = 'Korean';
  29. $_config['languages']['kr']['dir'] = 'ltr';
  30. $_config['languages']['pl']['icon'] = 'pl.gif';
  31. $_config['languages']['pl']['name'] = 'Polski';
  32. $_config['languages']['pl']['title'] = 'Polish';
  33. $_config['languages']['pl']['dir'] = 'ltr';
  34. $_config['languages']['ru']['icon'] = 'ru.gif';
  35. $_config['languages']['ru']['name'] = 'Русский';
  36. $_config['languages']['ru']['title'] = 'Russian';
  37. $_config['languages']['ru']['dir'] = 'ltr';
  38. $_config['languages']['es']['icon'] = 'es.gif';
  39. $_config['languages']['es']['name'] = 'Español';
  40. $_config['languages']['es']['title'] = 'Spanish';
  41. $_config['languages']['es']['dir'] = 'ltr';
  42. $_config['languages']['th']['icon'] = 'th.gif';
  43. $_config['languages']['th']['name'] = 'ภาษาไทย';
  44. $_config['languages']['th']['title'] = 'Thai';
  45. $_config['languages']['th']['dir'] = 'ltr';
  46. $_config['languages']['tr']['icon'] = 'tr.gif';
  47. $_config['languages']['tr']['name'] = 'Türkçe';
  48. $_config['languages']['tr']['title'] = 'Turkish';
  49. $_config['languages']['tr']['dir'] = 'ltr';
  50. $_config['languages']['vn']['icon'] = 'vn.gif';
  51. $_config['languages']['vn']['name'] = 'Tiếng Việt';
  52. $_config['languages']['vn']['title'] = 'Vietnamese';
  53. $_config['languages']['vn']['dir'] = 'ltr';
Copy the Code
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-22 03:17 GMT+3 , Processed in 0.024662 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