Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Translate Emails  (Read 4878 times)

0 Members and 1 Guest are viewing this topic.

Black_Prince

  • Guest
Translate Emails
« on: January 15, 2009, 12:00:12 AM »

Hi ! I just wanna to know how to translate emails that anope sends to users (sendpass, registration confirmation).
Logged

Trystan Scott Lee

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 343
Re: Translate Emails
« Reply #1 on: January 15, 2009, 12:40:06 AM »

These message are technically already translated. The messages are sent via the defined NSDefLanguage or language the user sets it to be. The text being found in the various language files.

Anything else would require a custom replacement of ns_register module
Logged
my God my tourniquet, return to me salvation

katsklaw

  • Guest
Re: Translate Emails
« Reply #2 on: January 16, 2009, 03:54:45 AM »

I'd like to add that the registration confirmation will always be sent in Services default language as set in services.conf since all pre-nick settings are default. All other email sent after the user has set their language preferences will be sent in their chosen language.
Logged

Black_Prince

  • Guest
Re: Translate Emails
« Reply #3 on: January 17, 2009, 12:14:48 AM »

And now I'm asking you were to find these "email messages". I can't find them in language files...
Logged

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
Re: Translate Emails
« Reply #4 on: January 17, 2009, 09:17:11 AM »

en_us.l has it around line 879.
Logged
Pages: [1]   Go Up