The forum of the forums

Would you like to react to this message? Create an account in a few clicks or log in to continue.
The forum of the forums
3 posters

    New Log In Navigation Bar

    smejker
    smejker
    Forumember


    Male Posts : 167
    Reputation : 4
    Language : serbo-croatian/english/macedonian/bulgarian

    Solved New Log In Navigation Bar

    Post by smejker 9/7/2015, 10:41

    Hi, @Ange

    I followed the theme New Log in Navigation Bar? and everything is fine ... but one question ... how to translate it into my language ... like:
    Reputation = Reputacija
    Profile = Profil.. etc.

    Thanks In Advance!

    Regards & Respect!
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    Solved Re: New Log In Navigation Bar

    Post by Ange Tuteur 9/7/2015, 11:25

    Hi @smejker,

    The script uses _lang data from the toolbar which corresponds to the language you're using. I'm assuming these variables contain no translate for your language ?

    If that's the case, you'll need to look for data that starts with an uppercase L. For example, you can find L.Reputation and replace it with 'Rep'
    smejker
    smejker
    Forumember


    Male Posts : 167
    Reputation : 4
    Language : serbo-croatian/english/macedonian/bulgarian

    Solved Re: New Log In Navigation Bar

    Post by smejker 9/7/2015, 12:07

    Oh, OK @Ange!

    Thanks!
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    Solved Re: New Log In Navigation Bar

    Post by Ange Tuteur 9/7/2015, 12:42

    @smejker no problem. Smile

    You could also add something like this before the profile module in your homepage message :
    Code:
    <script type="text/javascript">
    _lang.See_my_profile = 'View profile';
    _lang.Edit_profile = 'Edit profile';
    _lang.All_Topics = 'My topics';
    _lang.All_Messages = 'My posts';
    _lang.js_topics_followed = 'Watched topics';
    _lang.Notif_see_all = 'See all the notifications';
    _lang.Posts = 'Posts';
    _lang.PMs = 'PMs';
    _lang.Reputation = 'Reputation';
    </script>

    Editing the above should translate a majority of the content that makes use of _lang.
    smejker
    smejker
    Forumember


    Male Posts : 167
    Reputation : 4
    Language : serbo-croatian/english/macedonian/bulgarian

    Solved Re: New Log In Navigation Bar

    Post by smejker 10/7/2015, 14:46

    Ange Tuteur wrote:@smejker no problem. Smile

    You could also add something like this before the profile module in your homepage message :
    Code:
    <script type="text/javascript">
    _lang.See_my_profile = 'View profile';
    _lang.Edit_profile = 'Edit profile';
    _lang.All_Topics = 'My topics';
    _lang.All_Messages = 'My posts';
    _lang.js_topics_followed = 'Watched topics';
    _lang.Notif_see_all = 'See all the notifications';
    _lang.Posts = 'Posts';
    _lang.PMs = 'PMs';
    _lang.Reputation = 'Reputation';
    </script>

    Editing the above should translate a majority of the content that makes use of _lang.

    Yes, That is! New Log In Navigation Bar 4032543900 @Ange!
    BIG  Thanks New Log In Navigation Bar 1655182388
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51499
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: New Log In Navigation Bar

    Post by SLGray 10/7/2015, 20:27

    Topic solved and archived



    New Log In Navigation Bar Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.

      Current date/time is 23/9/2024, 11:19