Localization - Translate your project into several languages

● ARCHIVED · READ-ONLY
Started by DK 139 posts Page 3 of 7 View original ↗
  1. Some reason I get this error from this line

    error.jpg

    Code:
    "Nullifies_Terrain_Damage": "Аннулирует урон от местности",
  2. Tuomo L said:
    Some reason I get this error from this line

    View attachment 179643

    Code:
    "Nullifies_Terrain_Damage": "Аннулирует урон от местности",
    Is this the last line in the file? The last line must not contain a comma at the end.
  3. DK said:
    Is this the last line in the file? The last line must not contain a comma at the end.

    It's not and the last line doesn't contain.
  4. the plugin is incredible, really good, I just need help, how do I make a script call to use in a condition to know which language is being used? example: if the language is x to display something, but if the language is y to display something else, I saw the script calls that you showed but I didn't find, I'm lost
  5. darklugia1997 said:
    the plugin is incredible, really good, I just need help, how do I make a script call to use in a condition to know which language is being used? example: if the language is x to display something, but if the language is y to display something else, I saw the script calls that you showed but I didn't find, I'm lost
    Do you mean to show different pictures for different languages?
  6. DK said:
    Do you mean to show different pictures for different languages?
    Yes, exactly that, I explained it poorly, but that's right
  7. darklugia1997 said:
    Yes, exactly that, I explained it poorly, but that's right
    Read the help section for instructions on how to use the resources for each language. In short, just create a folder inside pictures (or other folder), name it the desired locale and put the image there. The game will automatically use it for that language. There is an example in the demo.
  8. Thanks for the info, I took a quick look and I think I learned how to do it :thumbsup-left:
  9. @DK I'm receveing this error, no idea wĥy.

    error.jpg

    This is the code

    Code:
    "Oh_Youre_so_kind_you_didnt_even_ask_anything_in_return": "¡Oh!\\. Eres tan amable, \n¡ni siquiera pediste nada a cambio! \\. \nPero, aquí, quiero que tengas esto de todos modos.",
  10. Tuomo L said:
    @DK I'm receveing this error, no idea wĥy.

    View attachment 180434

    This is the code

    Code:
    "Oh_Youre_so_kind_you_didnt_even_ask_anything_in_return": "¡Oh!\\. Eres tan amable, \n¡ni siquiera pediste nada a cambio! \\. \nPero, aquí, quiero que tengas esto de todos modos.",
    I will try to see these errors.
  11. The plugin worked very well on Windows but when I ran it on Android, it gave me this despite no file was missing.

    image_2021-02-26_194524.png
  12. Lee Sang said:
    The plugin worked very well on Windows but when I ran it on Android, it gave me this despite no file was missing.

    View attachment 180971
    Did you update the filesystem stamp with a plugin command before compiling the project?
  13. DK said:
    Did you update the filesystem stamp with a plugin command before compiling the project?
    I have no idea what that means. What is updating the filesystem stamp? I don't think I've done that.
  14. Lee Sang said:
    I have no idea what that means. What is updating the filesystem stamp? I don't think I've done that.
    To run on mobile devices and browsers, you must follow these instructions:
    1. Make sure you have Nwjs + Stamp filesystem mode enabled in the DKTools plugin.
    2. Before compiling the project, you must run the UpdateFileSystemStamp plugin command from the DKTools plugin.
    3. Compile the project for the required platform.
    A description of the filesystem modes can be found in the DKTools plugin help.
  15. DK said:
    To run on mobile devices and browsers, you must follow these instructions:
    1. Make sure you have Nwjs + Stamp filesystem mode enabled in the DKTools plugin.
    2. Before compiling the project, you must run the UpdateFileSystemStamp plugin command from the DKTools plugin.
    3. Compile the project for the required platform.
    A description of the filesystem modes can be found in the DKTools plugin help.
    Thank you, it worked! Didn't know you gotta do that extra step for MZ.
  16. Lee Sang said:
    Thank you, it worked! Didn't know you gotta do that extra step for MZ.
    I will add this to the help in the next version, thanks.
  17. @DK

    I was thinking, do you want me to DM you the localization files that I have? Maybe you'll then see what's wrong with them.
  18. Tuomo L said:
    @DK

    I was thinking, do you want me to DM you the localization files that I have? Maybe you'll then see what's wrong with them.
    Yes, send me
  19. In database-system 2, I left the width of the screen at 1280 and the height of the screen at 720, but I wanted to leave the UI area at 816x624 because I think it looks more beautiful, but the flags are as in the photo, how do I align correctly ?

    Language.jpg
  20. I'm with some problem to understand the process to put it online.

    I have have two localizations: en and pt

    The plug-in created to me the locales/en/main.json and locales/pt/main.json.

    Im putting the text there, and it is working fine, I can change the language etc.

    Now... im trying to deploy it at itch.io (web).

    I have it on docs:
    ## Attention! ##
    Before publishing a game for browsers or mobile devices,
    run the DKTools plugin command UpdateFileSystemStamp to update
    file system stamp (more details in the DKTools plugin help)!

    My DKTools File System is in mode 1 (Nwjs + Stamp)

    But when I'm trying to deploy and run it online I'm getting the error:
    Uncaught Error: Localization file does not exist: locales\en.json
    How I deal with command UpdateFileSystemStamp? I need to put an in game event? Didn't got it very well...

    I put and event in the game with the command (don't know if its the better way to do that) and now, in the output folder, I have en.json and pt.json (and don't have the folders anymore) but when I send to itch.io, I'm still complaining that en.json doesn't exists.

    Sorry about something... but im very new in Rpg Maker, and thanks in advance for the help.

    Ps. Im using the RPG Maker Mz