Language settings. Missing translation. Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

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.
2 posters

    Language settings. Missing translation.

    medusa
    medusa
    Forumember


    Female Posts : 52
    Reputation : 1
    Language : Danish, English
    Location : Denmark

    In progress Language settings. Missing translation.

    Post by medusa January 9th 2015, 3:39 pm

    Hallo everyone Smile

    Well I'm a danish head-admin for at Danish RPG forum,
    and I'm so glad that forumotion provide with a default language setting.

    But for years it has bothered me that not everything is translated(I will show some examples further down)
    especially because I have a handful people who either do not understand English or are dysleksi, which means it really is quite hard for them to understand English.
    And some people like me just get a little bit confused when some of it is 50/50 written in English or Danish, because then we tend to sometimes write in English even though it was suppose to be in Danish.

    So I'm really searching for a way to use codes for translation or change the templates or what ever (Or maybe even come up with some good translations which could be updatet in your system because it is quite understandable that you guys(admins) cannot speak nor write every kind of language and danish is probably one of those languages which isn't that much used. Smile )
    I think it would be best if you guys could update it because then I know that quite a handful danish admins on other sites would love the changes too. Smile but of course if it is not possible then it is just fine with just a code or changes in the templates ^^
    BUT I would really love to help with all of the missing danish parts 'cause I do speak and write Danish very well('cause I'm a Dane) Smile

    Some of the examples of things in English which I would very very much like to be changed because they frequently used.

    Example 1: Toolbar Click link for Picture
    We have chosen to enable the toolbar which is by the way great!
    But nearly everything in there is in English besides few of the links when you click on "welcome (username)"
    1: Just beside the social media icons there is the description "Share"
    2: "Welcome" which is Velkommen in Danish.
    3: in welcome (username) there is "View profile", "Watched Topics", "My Private Messages" and "Logout"
    4: Notifications
    4: (New picture) When you click notifications and got a notifications it writes "You have received a "private message" from (username)"
    5: And also the "see all notifications"

    Example 2: Profile settings and options.
    1: in profile settings where you can fill out the relevant information the description for changing the password is "Change your password", there is also "view profile" link, "personalized profile", "contact field"
    2: In options 6/17 are written in English.
    3: In Signature there is the description title "Edit signature"
    4: in Friends and foes the link itself is called "Friends and foes" and then everything in there is in English besides the button for "find user
    5: Everything in notifications is written in English besides the "choose all" or "delete all" options.
    6: "topic(s) being watched", the link itself is in English and many of the things in here is in English too like "Stop watching the selected topics"
    7: "favourites" the link itself is in English too

    and there is other examples out there, but these are so far the most important ^^



    And as you can see some of the more important things in English wouldn't be understandable for non-English speaking Danes. And of course we admins can try to help them but not everything contacts us and even though if we made a "translation topic" then we wouldn't be sure if people read it and it would be quite messy Smile

    I hope you guys or admins can help me
    yours
    Medusa
    Ange Tuteur
    Ange Tuteur
    Forumaster


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

    In progress Re: Language settings. Missing translation.

    Post by Ange Tuteur January 10th 2015, 1:00 am

    Hello @medusa,

    I can offer a small script to translate a portion of the toolbar that you want. Go to Administration panel > Modules > JavaScript codes management > Create a new script

    Title : your choice
    Placement : in the homepage
    Code:
    $(function() {
      // textual translation of fa_toolbar
      var $lang = {
        welcome : 'Velkommen',
        notifications : 'Notification text',
        share : 'Share text',
        
        view_profil : 'View profile text',
        watched : 'My watched topics text',
        priv_msg : 'My private message text',
        logout : 'Logout text'
      };
      
      $(function() {
        // logged in content
        if (_userdata.session_logged_in) {
          // fa_right
          $('#fa_welcome').text($lang.welcome + ' ' + _userdata.username);
          $('#fa_notifications').html($lang.notifications + '<span id="notif_unread"></span>');
          
          // fa_menulist
          $('#fa_menulist li:eq(0) a').text($lang.view_profil);
          $('#fa_menulist li:eq(5) a').text($lang.watched);
          $('#fa_menulist li:eq(6) a').text($lang.priv_msg);
          $('#fa_menulist li:last a').text($lang.logout);
        }
        
        // global content
        $('#fa_share_text').text($lang.share);
      });
    });

    At the top of the script you'll see this :
    Code:
     var $lang = {
        welcome : 'Velkommen',
        notifications : 'Notification text',
        share : 'Share text',
        
        view_profil : 'View profile text',
        watched : 'My watched topics text',
        priv_msg : 'My private message text',
        logout : 'Logout text'
      };

    That is where you can change the texts to what you want.


    Some board languages have partial translations. As far as volunteer translations go, I would try to contact Buttercup. She might be able to help you since she works directly with the company.
    medusa
    medusa
    Forumember


    Female Posts : 52
    Reputation : 1
    Language : Danish, English
    Location : Denmark

    In progress Re: Language settings. Missing translation.

    Post by medusa January 10th 2015, 3:37 pm

    Many thanks Smile!!
    it works perfectly.


    It sounds good Smile A good handful of admins and danish users would be happy if we could fix the missing translation Smile
    medusa
    medusa
    Forumember


    Female Posts : 52
    Reputation : 1
    Language : Danish, English
    Location : Denmark

    In progress Re: Language settings. Missing translation.

    Post by medusa January 12th 2015, 11:50 am

    Can I ask for two more translationscodes for the menubarlist?

    1:
    It is because one of the menulist's choices, the one called in English "My Topics", do have a really have a nonunderstandable translation,
    it is translated to the danish word "Begyndelsen", which means the beginning in English
    I would rather call it "Mine emner" which means preciously "My topics"

    2:
    And also the menulists "my posts" because again it has a little bit of an awkward translation which doesn't give a clear explanation for what it does. Smile


    And maybe if it isn't too much of a trouble then the "edit profile" because it has been translated to "ret din profil" (Edit your profile), where the "yours" is kinda unnecessary and also do sound weird.
    Ange Tuteur
    Ange Tuteur
    Forumaster


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

    In progress Re: Language settings. Missing translation.

    Post by Ange Tuteur January 12th 2015, 12:24 pm

    Sure, just replace the script I gave you with this one :
    Code:
    $(function() {
      // textual translation of fa_toolbar
      var $lang = {
        welcome : 'Velkommen',
        notifications : 'Notification text',
        share : 'Share text',
       
        view_profil : 'View profile text',
        edit_profil : 'Edit profile text',
        my_topics : 'My topics text',
        my_posts : 'My posts text',
        watched : 'My watched topics text',
        priv_msg : 'My private message text',
        logout : 'Logout text'
      };
     
      $(function() {
        // logged in content
        if (_userdata.session_logged_in) {
          // fa_right
          $('#fa_welcome').text($lang.welcome + ' ' + _userdata.username);
          $('#fa_notifications').html($lang.notifications + '<span id="notif_unread"></span>');
         
          // fa_menulist
          $('#fa_menulist li:eq(0) a').text($lang.view_profil);
          $('#fa_menulist li:eq(1) a').text($lang.edit_profil);
          $('#fa_menulist li:eq(3) a').text($lang.my_topics);
          $('#fa_menulist li:eq(4) a').text($lang.my_posts);
          $('#fa_menulist li:eq(5) a').text($lang.watched);
          $('#fa_menulist li:eq(6) a').text($lang.priv_msg);
          $('#fa_menulist li:last a').text($lang.logout);
        }
       
        // global content
        $('#fa_share_text').text($lang.share);
      });
    });

    I added additional variables which you can edit. You'll have to copy paste your current translations since I don't know them, sorry.
    medusa
    medusa
    Forumember


    Female Posts : 52
    Reputation : 1
    Language : Danish, English
    Location : Denmark

    In progress Re: Language settings. Missing translation.

    Post by medusa January 12th 2015, 2:03 pm

    Why are you saying sorry? O.o
    It is me who is inconvenient, not you Smile
    but it works perfectly like before, so thanks!! Very Happy