| |
| | |

CodersClub

 Forgot password?
 Register
Search
View: 13619|Reply: 16
Collapse the left

National buttons for all the languages

[Copy link]

 Russia

Post time: 2011-12-01 11:30
| Show all posts |Read mode
Many members reports about a problem with graphical buttons containing English/Chinese words.

I have decided to solve this problem by THREE methods:

1) Some icons like ad_close.gif may be restyled for no text inside.
A text will appear as a pop-up title, like the "Change language" flag icon.

2) Some buttons like "New thread", "Reply" or "Create new group" can be restyled to blank buttons without any text inside. The button national text will appear over that button, like "My Center" button.

3) Some images like stamps can NOT be converted by previous methods.
There is only one solution for such type images - to redraw image and place it inside the each language pack.


 Palestine

Post time: 2011-12-01 12:49
| Show all posts
Nice !

Dont forget RTL IMG like  



this problem solve by  methods (3)

Is ready by me i will send it to you soon


This post contains more resources

You have to Login for download or view attachment(s). No Account? Register

x

 Russia

 Author| Post time: 2011-12-01 13:15
| Show all posts
Suggested language pack subfolders structure:

language/en/
language/en/style
language/en/style/image
language/en/style/image/help
language/en/style/image/stamp

Or better to move image folder up one level?
i.e.
language/en/style
language/en/image

Comments

NO. 2 THE BEST  Post time 2011-12-01 13:18

 Russia

 Author| Post time: 2011-12-01 19:42
| Show all posts
All LangPacks: Thread stamps prepared for multilingual.
http://code.google.com/p/discuzx-en/source/detail?r=214

 Russia

 Author| Post time: 2011-12-02 11:59
| Show all posts
X2ML: "Add new thread" and "Reply" buttons replaced with blank image buttons with a text over it.
http://code.google.com/p/discuzx-en/source/detail?r=216
http://code.google.com/p/discuzx-en/source/detail?r=217

 Cambodia

Post time: 2011-12-18 22:13
| Show all posts
Я извиняюсь, уже не успеваю следить за изменениями и не всегда хорошо понимаю англ. текст...
Не могло так получиться, что стандартный пункт меню Space теперь невозможно переименовать, потому что он теперь отображается "хитрым" способом - кнопка как обычно, а текст из лангфайла?

 Russia

 Author| Post time: 2011-12-19 07:23
| Show all posts
Пункты верхнего меню берутся из базы данных как обычно.
Но выводится на экран не само значение из базы, а перевод этого пункта меню, расположенный в лэнг-файле.
Переименовать пункт МОЖНО.
Но делать это теперь надо не в базе или админке, а в языковом файле.

А есть другие идеи, как можно организовать мультиязычность пунктов меню?

 Cambodia

Post time: 2011-12-19 10:59
| Show all posts
Отредактировано: Lake, 2011-12-19 12:01

Что-то не сходится ... Переключаюсь на русский - а в меню все равно "Space" выводится. В каком ленг-файле это можно исправить?

 Russia

 Author| Post time: 2011-12-19 11:03
| Show all posts
/source/language/XX/lang_template.php:
Starting from line 411:
  1. //---------------------------
  2. //vot: Titles from install_var.php, pre_common_nav table

  3.         'register'        => 'Register',//'注册',

  4.         'nav_1'                => 'Portal',//'门户',//1,
  5.         'nav_2'                => 'Forum',//'论坛',//2,
  6.         'nav_3'                => 'Groups',//'群组',//3,
  7.         'nav_4'                => 'Space',//'家园',//4,
  8.         'nav_5'                => 'Applications',//'应用',//5,
  9.         'nav_6'                => 'Plugins',//'插件',//6,
  10.         'nav_7'                => 'Help',//'帮助',//7,
  11.         'nav_8'                => 'RankList',//'排行榜',//8,
  12.         'nav_stat'        => 'Statistics',//'站点统计',
  13.         'nav_report'        => 'Reports',//'举报',
  14.         'nav_archiver'        => 'Archive',
  15.         'nav_mobile'        => 'Mobile',//'手机版',
  16.         'nav_blog'        => 'Blogs',//'日志',
  17.         'nav_album'        => 'Albums',//'相册',
  18.         'nav_share'        => 'Shares',//'分享',
  19.         'nav_doing'        => 'Doings',//'记录',
  20.         'nav_friend'        => 'Friends',//'好友',
  21.         'nav_thread'        => 'Threads',//'帖子',
  22.         'nav_favorite'        => 'Favorites',//'收藏',
  23.         'nav_magic'        => 'Magic',//'道具',
  24.         'nav_medal'        => 'Medals',//'勋章',
  25.         'nav_task'        => 'Tasks',//'任务',
  26.         'nav_sethomepage'        => 'Set as Homepage',//'设为首页',
  27.         'nav_setfavorite'        => 'Add to Favorites',//'收藏本站',
  28. //        'nav_'                => '',//'',

  29. // Google Maps
  30.         'e_map'                => 'Map',//'地图',
  31.         'e_map_insert'        => 'Insert Google Map',//'插入google地图',
  32.         'e_map_address'        => 'Enter address for search: ',//'地址: ',
Copy the Code
Post time: 2011-12-19 14:54
| Show all posts
Edited by Andre13 at 2011-12-19 16:05

Ce serait super bien également, les organisateurs de Discuz qu'ils puissent créés lorsque des images avec leurs calligraphies chinoise ou autres langues (entre autres Vietnamiennes Chinoises)   par exemple de mettre un fichier texte (.txt) avec just le ou les mot(s) signifant le panneau ou la pancarte ou tout simplement l'image avec texte dedans. Se serai plus facile pour tous les traducteurs car se servir du clavier chinois pour traduire est très très long à traduire si aucune connaissance en langage Chinoise par exemple.

--
It would be great too, they can Discuz organizers created when images calligraphy with their Chinese or other languages ​​(including Chinese Vietnamese), for example to a text file (. Txt) or with just the word (s ) means the sign or the sign or just the image with text in it. Will be easier for all translators use the keyboard for Chinese to translate is too long to translate if any knowledge of Chinese language for example.


This post contains more resources

You have to Login for download or view attachment(s). No Account? Register

x
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-04-19 12:54 GMT+3 , Processed in 0.108509 sec., 9 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