Translating plugins into finnish

Discussion in 'Bukkit Discussion' started by TheRealEk, Mar 11, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    TheRealEk

    Heey, I got this idea that if you would be interested, i could translate your plugin into finnish. I've noticed that there is many plugins with translations without finnish included and this would be a nice favor for the them who speak it . My mother tongue is finnish and i talk pretty nice english for a finn so i would be a good translator. Interested?
     
  2. Offline

    obnoxint

    Well, that's a very nice offer. But there are hundreds of languages not supported by this and those plugins. I think it would make more sense if you contact the developers of the plugins you like to have translated and ask him nicely if he/she is willing to translate the plugin with your help. Or even better: make all texts configurable.
     
    Tanite likes this.
  3. Offline

    desht

  4. Offline

    Tanite

    As obnox suggested, I would start by contacting the developers of plugins you use, starting with those that already have some translations. There's really no global way to do this though, unfortunately.
     
  5. Offline

    TheRealEk

    Yeah that's right, just thought to advertise myself as much as possible :D You got any plugins u'd want to be translated?

    I start looking at that right tomorrow. :)

    N
    Yeah well, i thought about starting with this. I mean it's a beginning of something, right?
     
  6. Offline

    deltahat

    Interesting you should mention a global translation system. The next major project I was thinking of attacking in the bukkit-bleeding branch is applying localization to plugins and bukkit itself. Localization would be based on the existing java localization API using .properties files and would allow a plugin to detect a player's preferred language. Would this interest anybody?
     
    Don Redhorse and desht like this.
  7. Offline

    TheRealEk

    Hmm.. That would take a lot of time wouldn't it? I mean if u get a lot of requests and all that.. Though then u could get more translators and suddenly there would be languages everywhere.. :confused:

    The link on your page for this plugin where it says that press there for the words to translate doesn't work.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 24, 2016
  8. Offline

    desht

  9. Offline

    Don Redhorse

    for sure... btw... I battleing atm with the issue to store the languages in yaml... it doesn't work with some languages as yaml freaks out as it seems..

    there is a thread in the developer forum about this.

    Concerning the translation system I would prefer a system where you could use enums to display messages etc.. btw: you also need to implement that into the help system :D
     
  10. Offline

    deltahat

    What do you mean by using enums to display messages?
     
  11. Offline

    Don Redhorse

    well a good practice is to use enums instead of strings in the code afaik..

    so instead of player.sendmessage("well what should i say"); I use an enum atm which holds that information so it is SIMILAR like this player.sendmessage(WHAT_SHOULD);

    so for a translation framework I would like to see

    player.sendtranslatedmessage(WHAT_SHOULD); instead of of player.sendtranslatedmessage("what_should");

    I know my code could probably use a lot of better design.. but take a look here.. https://github.com/dredhorse/TheMon...ukkit/TheMonkeyPack/events/CSPlayerEvent.java which I try to improve here https://github.com/dredhorse/HelperClasses

    I guess for a more general approach the method should just use an enum as a "node" in the translation instead of a string, like I wrote in the beginning, as my approach requires the developers to copy at least a stub enum class.

    as you would probably make this possible everywhere I would think that you probably need to use some static methods like:

    player.sendmessage(translateMethod(WHAT_SHOULD));

    so that you could use it everywhere, instead of changing all the methods everywhere
     
  12. Offline

    deltahat

  13. Offline

    Don Redhorse

    I know... but the keys are strings.. I know where the problem is though..

    hmm.. on the other side enum's can implement interfaces, probably to complicated though or you can just use the toString method in your code to dump the enum to a string to get the correct key in the file.
     
  14. Offline

    TheRealEk

    Heey guys, really sorry that i haven't sent u the translations yet, something has been going on on my life now for a while and yeah.. I will do them ASAP.
     
  15. Offline

    MargaretP

Thread Status:
Not open for further replies.

Share This Page