Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • magimax Friend
    #169498

    Hi!

    I have another problem.. busy day today 🙂
    I use JASocial and when I click on the link “Create a new account” on the top right corner of the page the registration form is opened with English labels but we have set the language to Italian.
    See screenshot for details.

    Can you help?

    Thanks


    1. create_account
    Manos Moderator
    #418064

    Hi,

    did you translate mod_ja-login.ini file to Italian ? You have to do this in order to display everything in your language!

    Regards

    Manos

    magimax Friend
    #418069

    Yes I did, but as far as I see there aren’t all the labels.
    For instance “Username” and “Confirm password” are not in the mod_ja-login.ini . So I don’t see where I should change them.

    Can you help?
    Thanks

    Manos Moderator
    #418078

    Hi,

    I can try 🙂

    So is there a line on it_IT.mod_jalogin.ini for


    NAME_USERNAME="Name/Username"
    NAME_USERNAME_DESC="Choose name or username to display on welcome text."
    PASSWORD="Password"

    magimax Friend
    #418081

    I am sorry I don’t understand… is it a question ?

    magimax Friend
    #418161

    <em>@pascm 274422 wrote:</em><blockquote>Hi,

    I can try 🙂

    So is there a line on it_IT.mod_jalogin.ini for


    NAME_USERNAME="Name/Username"
    NAME_USERNAME_DESC="Choose name or username to display on welcome text."
    PASSWORD="Password"

    </blockquote>

    I have try your suggestion but it does not work, any other alternative ?

    Thanks

    Manos Moderator
    #418298

    Hi,

    Please try to add the following lines to the same .ini file.


    USERNAME=Nome Utente
    CONFIRM PASSWORD=Conferma Password

    You can revert the previous changes ( i mean about the lines you have added before )

    magimax Friend
    #418324

    H Manos,

    the label “Username” has now changed, but the label “Confirm password” no.

    Any idea ?

    Thanks

    Manos Moderator
    #418512

    Yes… i didn’t use an “_” on my code anyway i have modified your it-IT.mod_jalogin.ini and now it works!

    magimax Friend
    #418515

    I am sorry.. I added the _ as I was sure it was needed.
    However the full translation is not there, the following labels are missing:

    • Fields marked with an asterisk (*) are required.
    • Confirm email Address:
    • Name:

    How do I change them ?

    Thanks

    Manos Moderator
    #418516

    Those fields should have been working just fine but i don’t know why they don’t. Do you have the Italian language installed correctly ? As those values should be inherited from standard joomla login module.

    Anyway if you can’t find a solution to that you just have to add some more text strings on your it-IT.mod_jalogin.ini.


    Confirm email Address="your language string here"
    Name="your language string here"

    And for the Fields marked with an asterisk (*) are required. you have to edit the file default.php located on /modules/mod_jalogin/tmpl/default.php and you will find this line :


    <p><?php echo "Fields marked with an asterisk (*) are required."; ?></p>

    magimax Friend
    #419138

    Sorry but it doesn’t work.
    In my /modules/mod_jalogin/tmpl/default.php I have made many changes but I don’t see the updated labels.
    are you sure is this the file which is going to be executed ?
    I have a custom profile with JA social. Maybe this affects it ?
    Thanks

    Manos Moderator
    #419172

    Hi,

    I am looking into this right now ! Yes i am sure that this is the file.

    Manos Moderator
    #419454

    Hi,
    I forgot about the overwrite on templates folder so i copied your default.php to /templates/ja_social/html/mod_jalogin/default.php and now you can see the translated strings correctly.

    Also you could try to copy the translations to the original default.php that’s on /html/mod_jalogin/ because i think that there are some minor changes about styling *Your original default.php is still there renamed to _default.php

    Please let me know if everything is ok now!

    Regards

    Manos

    magimax Friend
    #419627

    Thanks it is OK now!

Viewing 15 posts - 1 through 15 (of 15 total)

This topic contains 15 replies, has 2 voices, and was last updated by  magimax 13 years ago.

We moved to new unified forum. Please post all new support queries in our New Forum