Change labels for Login / Register modules

GK User
Sun Jul 29, 2012 2:49 am
Hi,

I would like to change the text label for the Register module in the top-right hand corner. It won't take the label change in the Module Title, so I'm guessing it is hard-coded somewhere.

Can you help me?

Thanks,
Maty
User avatar
Junior Boarder

GK User
Sun Jul 29, 2012 8:24 am
Please see following file;

File: languages/en-GB/en-GB.tpl_gk_esport.ini
Lines: 4 to 7
Following strings
Code: Select all
TPL_GK_LANG_LOGIN="Login"
TPL_GK_LANG_LOGOUT="Your account"
TPL_GK_LANG_CLOSE="Close"
TPL_GK_LANG_REGISTER="Register"


See you around...
User avatar
Platinum Boarder

GK User
Wed Aug 15, 2012 3:48 pm
Please, I want to know too, how can I modify the field labels of the form to another language.
Thanks
User avatar
Senior Boarder

GK User
Wed Aug 15, 2012 3:51 pm
@Ricardo A,

Copy following file to your language folder and rename it then make your translations. Example is based on Spanish.

English file: languages/en-GB/en-GB.tpl_gk_esport.ini
Copied to and renamed: languages/es-ES/es-ES.tpl_gk_esport.ini

Then simply make your translations. Depending on joomla language, joomla will load chosen language file.

See you around...
User avatar
Platinum Boarder

GK User
Thu Aug 16, 2012 3:13 pm
Ok but where are the labels field of register form like:
Name: *
Username: *
Password: *
Confirm Password: *
Email Address: *
Confirm email Address: *
I think they not are in this file: "en-GB.tpl_gk_esport.ini"
User avatar
Senior Boarder

GK User
Thu Aug 16, 2012 10:25 pm
You can change registration language in following file.

Code: Select all
/language/en-GB/en-GB.com_users.ini

For your language copy and rename similar to below. Spanish example.
Code: Select all
/language/es-ES/es-ES.com_users.ini


See you around...
User avatar
Platinum Boarder

GK User
Sat Aug 18, 2012 4:06 pm
Dear, the problem is, all the site is in portuguese (admin and site), k2 is in portuguese too, but the item Register (Cadastro in portuguese), when clicked, it is calling an english interface. I am talking about mod_gk_register. Which ini file this module is loading?
User avatar
Senior Boarder

GK User
Sun Aug 19, 2012 10:17 am
Seems I am not clear enough ;) You wanted following fields language strings.

Code: Select all
Name: *
Username: *
Password: *
Confirm Password: *
Email Address: *
Confirm email Address: *

I replied and pointed that they are in "\language\en-GB\en-GB.com_users.ini\".
Code: Select all
Line 88: COM_USERS_REGISTER_NAME_LABEL="Name:"
Line 97: COM_USERS_REGISTER_USERNAME_LABEL="Username:"
Line 90: COM_USERS_REGISTER_PASSWORD1_LABEL="Password:"
Line 93: COM_USERS_REGISTER_PASSWORD2_LABEL="Confirm Password:"
Line 82: COM_USERS_REGISTER_EMAIL1_LABEL="Email Address:"
Line 85: COM_USERS_REGISTER_EMAIL2_LABEL="Confirm email Address:"


If you have full Portuguese language file it should already have xx-XX.com_users.ini file. If not copy and rename the file to your language folder and if necessary translate it.

Only string used in mod_gk_register is below which was already explained it is in template language file which is "en-GB.tpl_gk_esport.ini".

Code: Select all
Line 7: TPL_GK_LANG_REGISTER="Register"


Let us know if you need further help on this.

See you around...
User avatar
Platinum Boarder

GK User
Sun Aug 19, 2012 4:47 pm
Thanks for all details, but, something strange is happening. How you will can see, the "Register" continues in english. If you click on the word "Cadastro" on right top of the site http://www.circuitonordestecaixa.com.br/home/
Thanks again
User avatar
Senior Boarder

GK User
Tue Aug 21, 2012 2:19 pm
Ok, the default Register of eSports template calls unknown xxxxx_user.ini file. Now I am trying a more simple way but another little problem occurs. I created a menu item type Regsitration Form. When the user call this item appears two titles: one bigger written "Registration" and anothe smaller written "User Registration". When I transcribe to my language the result is: "Registration" and "Registro de usuário". Please, I would a help to have only one title in my language.
User avatar
Senior Boarder

GK User
Tue Aug 21, 2012 2:51 pm
Try also translating following file. Just updated my template version and noticed the file. Sorry for not noticing it before.

language/en-GB/en-GB.mod_gk_register.ini

See you around...
User avatar
Platinum Boarder

GK User
Tue Aug 21, 2012 3:47 pm
Worked!
Thanks
User avatar
Senior Boarder

GK User
Tue Aug 21, 2012 7:39 pm
New problem: ISO 8859-1 Characters.
I need to go ahead.
I will post another question on another thread.
Thanks
User avatar
Senior Boarder

GK User
Fri Aug 24, 2012 11:27 am
No problem at all, see you around...
User avatar
Platinum Boarder


cron