| |
| | |

CodersClub

 Forgot password?
 Register
Search
View: 5538|Reply: 4
Collapse the left

[Suggestion] Move from settings to language

[Copy link]

 Russia

Post time: 2011-11-24 21:09
| Show all posts |Read mode
In Russian forum
http://codersclub.org/discuzx/forum.php?mod=viewthread&tid=205&extra=page%3D1
an interesting suggestion was offered:

Move all the language-specific settings from pre_common_settings to the language files.
I.e.
'reglinkname' = 'Register'
'anonymoustext' =  'Anonymous'
navs[1] = 'Portal'
navs[2] = 'Forum'
navs[3] = 'Groups'
navs[4] = 'Space'
navs[5] = 'Manyou'
navs[6] = 'Plugins'
navs[7] = 'Help'
navs[8] = 'RankList'
etc.

I agree, it is a great idea!

I will step by step make such type job.

First step:
Replace 'reglinkname' with 'Register'.
http://code.google.com/p/discuzx-en/source/detail?r=181
http://code.google.com/p/discuzx-en/source/detail?r=182


 Russia

 Author| Post time: 2011-11-26 10:27
| Show all posts

 Russia

 Author| Post time: 2011-11-27 18:29
| Show all posts

 Russia

 Author| Post time: 2011-11-28 10:47
| Show all posts
Today all the settings from pre_common_nav was replaced with lines from language packs.
navs[1] = 'Portal'
navs[2] = 'Forum'
navs[3] = 'Groups'
navs[4] = 'Space'
navs[5] = 'Manyou'
navs[6] = 'Plugins'
navs[7] = 'Help'
navs[8] = 'RankList'
'nav_stat'        => 'Statistics',//'члЩчВ╣ч╗Яшоб',
'nav_report'        => 'Reports',//'ф╕╛цКе',
'nav_archiver'        => 'Archive',
'nav_mobile'        => 'Mobile',//'цЙЛцЬ║чЙИ',
'nav_blog'        => 'Blogs',//'цЧех┐Ч',
'nav_album'        => 'Albums',//'чЫ╕хЖМ',
'nav_share'        => 'Shares',//'хИЖф║л',
'nav_doing'        => 'Doings',//'шо░х╜Х',
'nav_friend'        => 'Friends',//'хе╜хПЛ',
'nav_thread'        => 'Threads',//'х╕ЦхнР',
'nav_favorite'        => 'Favorites',//'цФ╢шЧП',
'nav_magic'        => 'Magic',//'щБУхЕ╖',
'nav_medal'        => 'Medals',//'хЛЛчла',
'nav_task'        => 'Tasks',//'ф╗╗хКб',
'nav_sethomepage'        => 'Set as Homepage',//'шо╛ф╕║щжЦщб╡',
'nav_setfavorite'        => 'Add to Favorites',//'цФ╢шЧПцЬмчлЩ',

I have uploaded this changes to the server just for testing.
(Yet no this revision in the repository!)

If after testing all will ok, I will update the repository.

So, let's testing and checking, if all right?!

 Russia

 Author| Post time: 2011-11-28 17:27
| Show all posts
Because of no bugreports,
I have updated the repository
"X2ML: Added switchable translation for all the navigation links from
pre_common_nav table."
http://code.google.com/p/discuzx-en/source/detail?r=200
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-05-03 15:47 GMT+3 , Processed in 0.055293 sec., 12 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