Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Default language based on TLD  (Read 9901 times)

0 Members and 1 Guest are viewing this topic.

FiXato

  • Guest
Default language based on TLD
« on: February 15, 2006, 05:32:41 PM »

It might be nice to have the default language used by the services, based on the TLD of the user and if the TLD can't be found in the language list have the default language in the services.conf to be used as fallback.
Logged

Trystan Scott Lee

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 343
(No subject)
« Reply #1 on: February 15, 2006, 06:22:33 PM »

Not always the easiest thing to do, and there are many countries that use two or more languages as the primary, would require a big list of possiblities.. IE.. TLD for mexico is MX, but their native is spanish, would have to have a table to that mapped MX to spanish, etc..
Logged
my God my tourniquet, return to me salvation

SkaterStuff

  • Guest
(No subject)
« Reply #2 on: February 15, 2006, 07:58:37 PM »

I can work on this but.. i would need help with making the lag files tho. as i have done some work on a music progarm for a company
Logged

Trystan Scott Lee

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 343
(No subject)
« Reply #3 on: February 15, 2006, 08:48:44 PM »

Anope already has language files, the trick is in the TLD to language break down
Logged
my God my tourniquet, return to me salvation

SkaterStuff

  • Guest
(No subject)
« Reply #4 on: February 16, 2006, 12:58:37 AM »

o i never even seen them in the dir before lol. i'll start working on this then.
Logged

FiXato

  • Guest
(No subject)
« Reply #5 on: February 16, 2006, 01:50:34 AM »

Well, the list wouldn't have to be fully filled and existing, but the possibility to add certain mapping would be nice, so that networks can add them at will.
Of course if a full list was supplied together with the feature, it would be great :)
Logged
Pages: [1]   Go Up