| |
| | |

CodersClub

 Forgot password?
 Register
Search
View: 5235|Reply: 2
Collapse the left

How to organize the country list?

[Copy link]

 Russia

Post time: 2012-01-11 14:02
| Show all posts |Read mode
It would be nice to organize the country list in X2.
I see 2 methods to create auto-translated country list:

1) Simple method:
Create a lang_country.php file for every language pack (~250 countries)

2) Complex method:
Create 2 database tables:
2a) Country list with default (English) name: id, code, default_country_name
2b) Country list translated: id, code, language, translated_country_name

What method do you prefer?

What about me, at this time I prefers the first (simple) method.

Post time: 2012-01-11 21:16
| Show all posts
I think the first method because then we could just update the revision, the second method could require a re-install or something, so first would be more efficient

 Russia

 Author| Post time: 2012-01-12 09:16
| Show all posts
Ok.
Added lang_country.php for every language pack.
To be translated!!!
http://code.google.com/p/discuzx-en/source/detail?r=302
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 07:01 GMT+3 , Processed in 0.043215 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