Topic-icon SCLogin - after translate

Active Subscriptions:

None
14 years 4 months ago #18273 by felpre
Translate the file en-GB.mod_sclogin.ini into my language carefully.
Everything worked normal, but the variables COM_JFBCONNECT_LOGIN_USING_FACEBOOK and MOD_SCLOGIN_WELCOME left to display its content (en-GB and pt-BR).
Both are displayed by the variable name: COM_JFBCONNECT_LOGIN_USING_FACEBOOK and MOD_SCLOGIN_WELCOME. Respectively in the login
Please look at www.gbeaute.com.br
The topic has been locked.
Support Specialist
14 years 4 months ago #18274 by alzander
Replied by alzander on topic SCLogin - after translate
Felice,
The COM_JFBCONNECT_LOGIN_USING_FACEBOOK string is defined in the com_jfbconnect.ini file. It's there simply because, instead of the SCLogin module, you can simply use {JFBCLogin} to add the Login With Facebook button. Since that can be anywhere, we needed a more global language file.

As for the MOD_SCLOGIN_WELCOME, I'm not sure why that's not translatiing. If you would, try copying and pasting the exact line below:
MOD_SCLOGIN_WELCOME="Welcome %s,"
That's the original line from our translation, which should work. If it doesn't, check the following:
* There are no errors in your ini file. If there are, Joomla won't be able to parse all strings, and that could be why that one doesn't work
* Don't use a double quote " mark in the string, or really, any special characters. If absolutely necessary, at least remove them temporarily to see if that works
* Make sure there's no space around the = or at the end of the string
* Make sure there is a %s in there somewhere (which will be replaced by the user's name).

Hope one of those work for you, but if not, let us know!

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

None
14 years 4 months ago #18303 by felpre
Replied by felpre on topic SCLogin - after translate
Carefully review both files "ini" and found nothing wrong.
Both variables are still showing your name and not the content.
I tried to use the Joomla Login, Login and K2 SCLogin. In three the same thing happens
The topic has been locked.
Support Specialist
14 years 4 months ago #18336 by alzander
Replied by alzander on topic SCLogin - after translate
Felice,
I'm not sure what you mean that you used the Joomla and K2 logins. Are you talking about other modules you tried, or settings within the SCLogin module?

For the COM_JFBCONNECT_LOGIN_WITH_FACEBOOK string, did you modify the pt-BR.com_jfbconnect.ini (NOT mod_sclogin) file?

We've never heard of this issue, so I'm really not sure why Joomla would choose not to translate just those strings. If you replace the en-GB file with the original one included in JFBConnect and set that as your Joomla language, does that work?

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

None
14 years 4 months ago #18375 by felpre
Replied by felpre on topic SCLogin - after translate
Alex,
I tested all: Joomla login, the login and K2 SClogin.
The most interesting is that all other translations are working normally. Only two variables mentioned is not translated.
If convenient I can send you the two ini files.
In the meantime I'll try to add both in the file pt-BR.com_jfbconnect.ini and / or mod_sclogin. Let's see what happens.
There are some strange situations in the translation of joomla. See history of errors in other complements.
I will keep you informed about the tests.
The topic has been locked.
Support Specialist
14 years 4 months ago #18379 by alzander
Replied by alzander on topic SCLogin - after translate
If those strings don't exist in the pt-BR versions of the file, that would be part of the problem. Joomla only loads the current language version of the files (it doesn't fall-back to the en-GB version or anything), so if those strings aren't in the pt-BR.com_jfbconnect.ini (COM_JFBCONNECT_LOGIN_WITH_FACEBOOK) and pt-BR.mod_sclogin.ini (MOD_SCLOGIN_WELCOME).

Feel free to post the ini files here or Private Message them to me. We'll get to the bottom of this, as I'm curious as to what's going on myself.

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

None
14 years 4 months ago #18385 by felpre
Replied by felpre on topic SCLogin - after translate
INI files sent by private message.
I was able display the translation of COM_JFBCONNECT_LOGIN_WITH_FACEBOOK appears: K2Login using the module. However, the greeting message does not display the image of facebook.
When we can solve the current problem, you can make the INI files that you want.
Thanks for your great support.
The topic has been locked.
Support Specialist
14 years 4 months ago #18442 by alzander
Replied by alzander on topic SCLogin - after translate
Felice,
I just sent you a private message with your INI files re-encoded. The files you sent were UTF-8 encoded already, but in a way that's different than how we do it. Not sure if that's the problem, but honestly hoping it is as we're not sure what the issue you're having is.

Please test those files and let us know how it goes. However, please (at first) do not update those file or edit them in any way as that may change the encoding again. Once we see if it works, we can give you details on how to edit, if necessary.

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

None
14 years 4 months ago #18445 by felpre
Replied by felpre on topic SCLogin - after translate
I take the test following her instructions carefully.
Then report the results
The topic has been locked.
Active Subscriptions:

None
14 years 4 months ago #18449 by felpre
Replied by felpre on topic SCLogin - after translate
In view of its fast and excellent collaboration, could not go to sleep (1:39 am here are) without first taking the test.
The good news is that it worked!
See the result in www.gbeaute.com.br
Congratulations for the service. It was one of the best support I received in the last 4 years
The topic has been locked.