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.

New Log In Navigation Bar

3 posters

Go down

Solved New Log In Navigation Bar

Post by smejker July 9th 2015, 10:41 am

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!
smejker
smejker
Forumember

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

Back to top Go down

Solved Re: New Log In Navigation Bar

Post by Ange Tuteur July 9th 2015, 11:25 am

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'
Ange Tuteur
Ange Tuteur
Forumaster

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

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: New Log In Navigation Bar

Post by smejker July 9th 2015, 12:07 pm

Oh, OK @Ange!

Thanks!
smejker
smejker
Forumember

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

Back to top Go down

Solved Re: New Log In Navigation Bar

Post by Ange Tuteur July 9th 2015, 12:42 pm

@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.
Ange Tuteur
Ange Tuteur
Forumaster

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

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: New Log In Navigation Bar

Post by smejker July 10th 2015, 2:46 pm

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
smejker
smejker
Forumember

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

Back to top Go down

Solved Re: New Log In Navigation Bar

Post by SLGray July 10th 2015, 8:27 pm

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.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51463
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum