The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

New Log In Navigation Bar

View previous topic View next topic Go down

Solved New Log In Navigation Bar

Post by smejker on July 9th 2015, 5: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
Forumember

Male Posts : 158
Reputation : 3
Language : serbo-croatian/english/macedonian/bulgarian

http://smejker@yahoo.com

Back to top Go down

Solved Re: New Log In Navigation Bar

Post by Ange Tuteur on July 9th 2015, 6: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
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: New Log In Navigation Bar

Post by smejker on July 9th 2015, 7:07 am

Oh, OK @Ange!

Thanks!

smejker
Forumember

Male Posts : 158
Reputation : 3
Language : serbo-croatian/english/macedonian/bulgarian

http://smejker@yahoo.com

Back to top Go down

Solved Re: New Log In Navigation Bar

Post by Ange Tuteur on July 9th 2015, 7:42 am

@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
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: New Log In Navigation Bar

Post by smejker on July 10th 2015, 9:46 am

@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! @Ange!
BIG Thanks

smejker
Forumember

Male Posts : 158
Reputation : 3
Language : serbo-croatian/english/macedonian/bulgarian

http://smejker@yahoo.com

Back to top Go down

Solved Re: New Log In Navigation Bar

Post by SLGray on July 10th 2015, 3:27 pm

Topic solved and archived


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


SLGray
Administrator
Administrator

Male Posts : 35666
Reputation : 2375
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


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