Anope IRC Services

Anope Support => 2.0.x/1.9.x Support => Topic started by: Erick Damian on May 23, 2012, 04:34:35 PM

Title: as I put the Spanish language as default?
Post by: Erick Damian on May 23, 2012, 04:34:35 PM
I have a question, as I put the Spanish language as default. I do not want the English language by default.
Title: Re: as I put the Spanish language as default?
Post by: Jens Voss on May 23, 2012, 04:46:18 PM
Quote from: nickserv.conf
/*
 * Default language that non- and newly-registered nicks will receive messages in.
* Leave empty to default to English.
*/
#defaultlanguage = "es_ES"

dont forget to remove the '#' before the "defaultlanguage"
Title: Re: as I put the Spanish language as default?
Post by: Erick Damian on May 24, 2012, 01:46:52 AM
Thanks, but does not work.
nickserv.conf in my file, the line that you put under me exactly what you got. And stay like this:
Quote
/ *
* A list of languages ​​to load on startup That will be available in / nickserv set language.
* Useful if you translate to your language Anope. (Further Explained in docs / LANGUAGE).
* NOTE THAT english Should not be listed here it is the basis Because language.
* /
languages ​​= "en_US fr_FR de_DE el_GR ca_ES hu_HU it_IT ru_RU nl_NL pl_PL pt_PT tr_TR"

/ *
* Default language That non-and newly-registered nicks will Receive messages in.
* Leave empty to default to English.
* /
DefaultLanguage = "en_US"
Type this in irc:
Quote
/ msg nickserv help set language and I get this:

-NickServ-Changes the language Services When sending messages to use
-
-NickServ-you (for example, when to Responding to a command you send).
-
-NickServ-language CHOSEN Should Be Following from the list of
-
-NickServ-supported languages:
-
-NickServ-en (English)
Only appears languages ​​English, the lenguage Spanish no appears. That may be happening here?
Title: Re: as I put the Spanish language as default?
Post by: Jens Voss on May 24, 2012, 04:07:29 AM
You have no gettext installed. Without gettext anope supports only the english language.
Install gettext and try again. :-)

In your paste you have still "en_US" as default language.
Title: Re: as I put the Spanish language as default?
Post by: katsklaw on May 25, 2012, 05:01:18 AM
It should be noted that changing this setting now will not affect users that are already registered. It will only affect NEW users. Existing users will need to set their own language in their NickServ set language option. Please see the help menu for exact syntax and supported languages.
Title: Re: as I put the Spanish language as default?
Post by: rastamanx on June 02, 2013, 01:15:36 PM
Any idea what gettext packages exactly are needed for anope to be able to use other locales correctly on Debian 7 ?
I first compile anope 1.9.8 without gettext, so I didn't get any locales compiled.
After digging the Makefiles etc, I found out it needed gettext to compile them, so i installed gettext, and it compiled the locales, and installed them in anope/locale on 'make install'.
But I still don't have anything except english available.
I have only 4 gettext packages installed :
gettext
gettext-base
libgettextpo0
liblocale-gettext-perl
Does it need another one to work properly ?

By the way, logs clearly state 'Unable to use language ca_ES' for every locale. So i guess it's not a path issue.

EDIT: Fixed it by myself.
I just installed gettext-lint and locales-all and it seems to work now. Maybe it'll help someone else having troubles with languages.