Iavra Localization

Discussion in 'JS Plugin Releases (RMMV)' started by Iavra, Dec 26, 2015.

  1. srazysnake

    srazysnake Villager Member

    Messages:
    29
    Likes Received:
    0
    Location:
    Korea
    First Language:
    Korean


    yeah... it did it to me too.


    kinda had to trust you in this one... lolz. []


    oh here's a very short Korean-English game I made using your plugin iavra, thank you.


    (you're mentioned in the credits too! XD)


    PC: http://www.mediafire.com/download/51kmm45osc9otui/03.+Project03+v3.4a.zip


    Android: http://www.mediafire.com/download/xigxysgeku49iu7/03.+Project03-armv7.android.20160529175533.apk


    quite a nice capability it has, too bad it is a bit tedious to change every term manually by typing-in #{keys}...;;


    ... still searching for how to change/break lines of the dialogues in #{keys} itself. []


    maybe it can be added in the future? lolz.
     
    Last edited by a moderator: Jun 1, 2016
    #21
  2. Iavra

    Iavra Veteran Veteran

    Messages:
    1,797
    Likes Received:
    856
    First Language:
    German
    I planned to add an exporter, that would create a json file from all text content in the game, while (optionally?) replacing it with generated keys, but i don't really have the time now.


    Line breaks can be inserted by using \n.
     
    #22
  3. oktchau

    oktchau Veteran Veteran

    Messages:
    50
    Likes Received:
    5
    First Language:
    Portuguese
    The exporter would be great. 



    This would be great. Multilanguage is an overlooked aspect on RPG Maker MV. We are making RPGs, the text is the single most important thing going on! Much more important than any custom battle system.


    I've used your plugin to translate all the database and plugins terms. I will replace/translate all the text boxes once the game is finished so I hope you eventually get the time and motivation to add the exporter in the next semester : )
     
    #23
    srazysnake likes this.
  4. srazysnake

    srazysnake Villager Member

    Messages:
    29
    Likes Received:
    0
    Location:
    Korea
    First Language:
    Korean


    Thnx!


    @oktchau


    Yeah... exporter would be smashing.


    I'm also doing the same with Korean localization... but doing it a new from scratch since all the terms became like...


    #{text.term01}, #{text.term02}..... and so on and became un-readable altogether XD. []


    don't make the same mistake I made, next time- name your keys the same key names you're replacing it with! XD


    eg) Harold > #{Harold}, not #{actor1} haha;;;
     
    Last edited by a moderator: Jun 2, 2016
    #24
  5. srazysnake

    srazysnake Villager Member

    Messages:
    29
    Likes Received:
    0
    Location:
    Korea
    First Language:
    Korean
    Another request/question after I noticed a problem while translating.


    I noticed, within game- you use the command:


    \n[actor number]


    to make the NPCs address you directly, eg: I name my character Mark- and NPCs can say 'Hi Mark!' if I use that command.


    ......and here's the problem.


    your plugin's line-break command is:


    \n


    ....so it just breaks lines, and leaves the '[]' part shown within the game.


    is there a different command for your plugin for specifically addressing actors?


    or is there a way to make the 1st command isolated from your plugin's break-line command?
     
    Last edited by a moderator: Jun 10, 2016
    #25
  6. Iavra

    Iavra Veteran Veteran

    Messages:
    1,797
    Likes Received:
    856
    First Language:
    German
    You double the backslashes. Any character sequence preceded by a \ is interpreted (\n is a line break, \t a tab, etc). \\ prints the backslash itself, which can then get interpreted by the maker.
     
    #26
  7. Raystorm7

    Raystorm7 Villager Member

    Messages:
    29
    Likes Received:
    0
    Location:
    Italy
    First Language:
    Italian,English
    Thanks for the excellent plugin!! :D


    It's possible to have a command for call the language menu?


    I would like to show, after the game starts and before the title screen appears, a simple list with languages and then the user can choose one of it.


    Thanks! :)
     
    Last edited by a moderator: Jun 17, 2016
    #27
  8. Iavra

    Iavra Veteran Veteran

    Messages:
    1,797
    Likes Received:
    856
    First Language:
    German
    That would probably be an additional plugin, since the current menu hooks into the options screen. It shouldn't be that hard to do, since it would only be a basic window backed by the existing data, but i really don't have the time for that right now...
     
    #28
  9. Raystorm7

    Raystorm7 Villager Member

    Messages:
    29
    Likes Received:
    0
    Location:
    Italy
    First Language:
    Italian,English
    Ok!


    Thanks for the tip!
     
    #29
  10. Sajiki

    Sajiki Villager Member

    Messages:
    5
    Likes Received:
    0
    First Language:
    German
    Hey :)


    Thats Plugin no working :(


    I have two language files, en.json and de.json.


    Core:


    Escape Code -> #{{key}}


    Language -> en,de


    File Path -> {lang}.json


    Menu:


    Option Label -> Language


    Language Labels -> en:English,de:German


    Files Path:


    en.json and de.json is in root from game.


    Plugins in JS/Plugins.


    RPG Maker MV from Steam!


    I can switch in the options but dont working :(


    Why?
     
    Last edited by a moderator: Jul 1, 2016
    #30
  11. Iavra

    Iavra Veteran Veteran

    Messages:
    1,797
    Likes Received:
    856
    First Language:
    German
    Does the text doesn't get displayed at all or are you only unable to switch between languages? If the former, try switching the language manually by executing the following script in console (F8 during testplay, F12 in chrome):


    IAVRA.I18N.language = 'de'; // or any other language.


    You can use the following script to get the language, that's currently active:

    Code:
    IAVRA.I18N.language;
     
    #31
  12. Sajiki

    Sajiki Villager Member

    Messages:
    5
    Likes Received:
    0
    First Language:
    German
    Thanks, its work :)


    I created a new demo for you. Its unpacked and you can Show all.


    bpc_demo_language.rar


    Have fun guys.


    Mfg


    Sajiki
     
    Last edited by a moderator: Jul 2, 2016
    #32
  13. Kyuukon

    Kyuukon 主人公 Veteran

    Messages:
    2,217
    Likes Received:
    1,076
    First Language:
    Spanish
    Primarily Uses:
    RMMV
    I've been playing around with this plugin. I really like how easy and versatile it is :) Good job!
     
    #33
  14. Kyuukon

    Kyuukon 主人公 Veteran

    Messages:
    2,217
    Likes Received:
    1,076
    First Language:
    Spanish
    Primarily Uses:
    RMMV
    Hm. When I try to use the escape code "\\N[1]" (draw actor 1 name) it gives me the error: "Unexpected Token N". Same happens with variables. I'm using Yanfly Message Core, just in case.


    Any clue :(?


    Solved it by placing the plugin above Yanfly's.
     
    Last edited by a moderator: Aug 13, 2016
    #34
  15. Val

    Val Veteran Veteran

    Messages:
    276
    Likes Received:
    164
    First Language:
    Français


    Any update on a future extension to export/import text for you're great plugin lavra ? :)
     
    #35
  16. Iavra

    Iavra Veteran Veteran

    Messages:
    1,797
    Likes Received:
    856
    First Language:
    German
    Not for that one, but i remade the core plugin a long time ago. Andar is pretty much beta testing it, while i'm adding new features ^^
     
    #36
    Val likes this.
  17. Andar

    Andar Veteran Veteran

    Messages:
    28,627
    Likes Received:
    6,574
    Location:
    Germany
    First Language:
    German
    Primarily Uses:
    RMMV
    unfortunately I haven't had time to even start the betatest, but I hope to get there next week (unless something else goes wrong in RL)
     
    #37
    Val likes this.
  18. Val

    Val Veteran Veteran

    Messages:
    276
    Likes Received:
    164
    First Language:
    Français
    Have you tried to betatesting the plugin of lavra?
     
    #38
  19. Andar

    Andar Veteran Veteran

    Messages:
    28,627
    Likes Received:
    6,574
    Location:
    Germany
    First Language:
    German
    Primarily Uses:
    RMMV
    started, but didn't do much due to time limitations - and I need to test the new functions I asked for before end of Oct for keeping some other timeline...
     
    #39
  20. Val

    Val Veteran Veteran

    Messages:
    276
    Likes Received:
    164
    First Language:
    Français
    Can I give you some help on beta testing this feature? 
     
    #40

Share This Page