Topic-icon JFBClogin button rename???

Active Subscriptions:

None
14 years 6 months ago #15293 by omrron
hello everybody the name on the "login" button is wat too long "com_jfbconnect_login_using_facebook"
how can i rename it?
www.omriron.com
The topic has been locked.
Support Specialist
14 years 6 months ago #15294 by alzander
Replied by alzander on topic JFBClogin button rename???
That login button text is defined in the language file for JFBConnect. We distribute some langauge files with the component itself, but it sounds like yours is not included. You should copy /languages/en_GB/en_GB.com_jfbconnect.ini to /languages/xx_YY/xx_YY.com_jfbconnect.ini and modify the strings for your language.

If you create a full, generic file, feel free to post it back here and we'll try to include it in a future release.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 6 months ago #15298 by omrron
Replied by omrron on topic JFBClogin button rename???
hello alex,
tnx for the quicq response.
im using he-IL which is included at your pack. comments, like, share and other apps are all well transtlated. nothing change at login button though,

i did try using en-GB, which is also fine for me, if i only can rename th login button to something shorter.
when im trying change en-GB.com_jfbconnect.ini
it's still stays the same.
The topic has been locked.
Active Subscriptions:

None
14 years 6 months ago #15299 by omrron
Replied by omrron on topic JFBClogin button rename???
##text##

THOSE ARE THE FILES
The topic has been locked.
Support Specialist
14 years 6 months ago #15301 by alzander
Replied by alzander on topic JFBClogin button rename???
Check the he_IL file that you're using for the string "com_jfbconnect_login_using_facebook", which is the language string key that should be used. It's in the en_GB file, but we may have simply missed adding it to the he_IL file. If so, copy that line from the en_GB file, paste it into the he_IL one, and update it to whatever you want it to say.

Hope that helps,
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 6 months ago #15303 by omrron
Replied by omrron on topic JFBClogin button rename???
the thing is, i'm using the en_GB and i still get the whole sentence on the button....
so it's stay like this for both en_GB and he_IL, even after the copy paste.
u can look at the pages at:
www.omriron.com/downloads
www.omriron.com/products/skp-beginners
The topic has been locked.
Support Specialist
14 years 6 months ago #15306 by alzander
Replied by alzander on topic JFBClogin button rename???
I see what you're saying. I'm not sure why that would be happening. We've never heard of the language files not being used before. Are you using any extra language translation extensions, or built-in Joomla translations?

If you can't figure it out, feel free to Private Message us a set of admin credentials and we'll gladly look into the problem further. You can PM me by clicking on the arrow under my picture (<----) and hit the mail icon.

Thanks,
Alex
The topic has been locked.
Support Specialist
14 years 6 months ago #15408 by alzander
Replied by alzander on topic JFBClogin button rename???
Omri,
I just got into your site. Please check your he_IL.com_jfbconnect.ini file as I had to cut and paste a few things, and likely messed up a few strings.

As for the issue, I honestly don't know why the language file wasn't being read from the Hebrew language file. If I switched the site's language to "English / en_GB", the string was properly working. Are you using anything else for translation on the site, other than Joomla's built in functionality? I couldn't see anything, but might have missed it.

Either way, I made the following code change to bypass the language file for that string, for now. Hopefully that's an acceptable solution until we find the real cause.

In /components/com_jfbconnect/libraries/facebook.php around line 300 was (Just search for "COM_JFBCONNECT_LOGIN_USING_FACEBOOK):
return '<fb:login-button v="2" size="' . $buttonSize . '" ' . $perms . ' onlogin="javascript:jfbc.login.login_button_click();">' . JText::_('COM_JFBCONNECT_LOGIN_USING_FACEBOOK') . '</fb:login-button>';
I changed this to:
return '<fb:login-button v="2" size="' . $buttonSize . '" ' . $perms . ' onlogin="javascript:jfbc.login.login_button_click();">Facebook</fb:login-button>';

Obviously, that's not the perfect solution, but like I said, we've never seen this and we do a lot of multi-lingual testing and are used on many, many multi-lingual sites.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 6 months ago #15409 by omrron
Replied by omrron on topic JFBClogin button rename???
hello alex!
thank u for the help!,
it's ok for now...
now i noticed that the "he_IL" really works partly, but that fine, the translation is not that of a big deal.
can i use hebrew at the PHP file? i mean change the 'facebook' to 'something in hebrew"?
tnx again
omri
The topic has been locked.
Active Subscriptions:

None
14 years 6 months ago #15410 by omrron
Replied by omrron on topic JFBClogin button rename???
can i get a FACEBOOK ICON by the facebook login bottun?
The topic has been locked.