• Forum
  • Doc
  • Screenshots
  • Download
  • Donate
  • Contributors
  • Contact
  • Follow @phpfreechat
  • DEMO
  • Board index ‹ Version 1.x branch ‹ Feature Requests (v1.x)
  • Change font size
  • FAQ
  • Register
  • Login

ICONS TRANSLATE

This forum is now locked as we will no longer be developing the v1.x branch

Moderators: OldWolf, re*s.t.a.r.s.*2

Topic locked
5 posts • Page 1 of 1

Postby tita » Wed Apr 13, 2011 10:05 am

Hi everybody!
First of all, sorry for my English...

I'm creating a chat with your program in Spanish and I have a question:

I want to translate the icons labels. For example, when you put the mouse over the X icon (I mean, the one you use to close a tab) it appears a message "_Close this tab_" and I want to appear these but in Spanish.

I have the parameter $params["language"]="es_ES"; put like these but that don't translate everything. I search for this message in the archive main.php of translations and it says that this message appears in the archive: "pfcclient.js.tpl.php" but I can't find it.

Please, help¿?¿

Thanks a lot!!!
tita
New member
 
Posts: 4
Joined: Mon Apr 11, 2011 10:49 am
Top

Postby re*s.t.a.r.s.*2 » Wed Apr 13, 2011 8:33 pm

Hi bienvenida,

What you have to do, after changing $params["language"]="es_ES";

you need to run the command "/rehash" so it can take the new configuration..

hope it helps

regards.
Free Singles Chat Rooms No Registration Required
Text and Chat Singles no need to register or app required
Sala De Bate Papo Online Grátis E Sem Cadastro
re*s.t.a.r.s.*2
Support Team
 
Posts: 612
Joined: Wed Sep 24, 2008 4:04 pm
Location: los angeles CA
  • Website
Top

Postby tita » Thu Apr 14, 2011 8:05 am

Hi,

I've done it that, I've run the command rehash, but nothing changes...

Thanks
tita
New member
 
Posts: 4
Joined: Mon Apr 11, 2011 10:49 am
Top

Postby re*s.t.a.r.s.*2 » Thu Apr 14, 2011 2:26 pm

Can you please put the index.php code here?

place the code between the code tags so I can check out whats up.
Free Singles Chat Rooms No Registration Required
Text and Chat Singles no need to register or app required
Sala De Bate Papo Online Grátis E Sem Cadastro
re*s.t.a.r.s.*2
Support Team
 
Posts: 612
Joined: Wed Sep 24, 2008 4:04 pm
Location: los angeles CA
  • Website
Top

Postby tita » Fri Apr 15, 2011 8:14 am

Ok, I've made it. I don't think it's the correct way to do it, but, at least, I have what I want.

I have changed the labels in pfcclient.js, because the main.php archive didn't translate those labels.

Thanks a lot!!!
tita
New member
 
Posts: 4
Joined: Mon Apr 11, 2011 10:49 am
Top


Topic locked
5 posts • Page 1 of 1

Return to Feature Requests (v1.x)

Who is online

Users browsing this forum: No registered users and 4 guests

  • Board index
  • The team • Delete all board cookies • All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
Sign in
Wrong credentials
Sign up I forgot my password
.
jeu-gratuit.net | more partners
Fork me on GitHub