Tutorial: Localization/Translation in Godot is so easy!

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 ม.ค. 2025

ความคิดเห็น • 61

  • @ocarina0001
    @ocarina0001 หลายเดือนก่อน +7

    People are complaining about too fast, but I'd rather have to go back 5 seconds to hear something I've already heard than go forward 5 seconds and maybe miss a very important piece of information.
    EDIT: great tutorial also lmao

  • @AG-cd2it
    @AG-cd2it 6 หลายเดือนก่อน +2

    Sweet and short and to the point and full of info. Thank you!

  • @natanmaia3575
    @natanmaia3575 6 หลายเดือนก่อน +2

    Quick but has basically all I needed to start, thank you!

  • @gigichui1505
    @gigichui1505 8 หลายเดือนก่อน +6

    Full of useful information, thanks!

  • @SnowPeaGames
    @SnowPeaGames ปีที่แล้ว +4

    Extremely helpful. I've now got my menu (mostly) translated into French, Spanish, German and Gaelic.
    It's a shame that only some UI objects auto translate. For example panels/buttons do, lists/tabs don't, but that's an easy fix overall.

    • @jitspoe
      @jitspoe  ปีที่แล้ว +1

      Oh, interesting. I haven't used tabs, and any lists I've made were generated in code, so they needed to be manually translated anyway. Glad you found the video helpful!

  • @NullCyan
    @NullCyan 8 หลายเดือนก่อน +6

    thanks, very helpful! it's too fast-paced but it helped me

  • @corgibox
    @corgibox ปีที่แล้ว +5

    Fantastic video, subscribed basically 30 seconds in also finally someone that pronounces it Godot and not Godot or the even worse Godot!

  • @gamersunite9026
    @gamersunite9026 ปีที่แล้ว +2

    quick and straight to the point, great

  • @jackoftraes2122
    @jackoftraes2122 5 หลายเดือนก่อน +2

    I am extremely impressed with the information density. I normally watch videos a 2x speed, but not with this video! I was hoping that I could use the spreadsheet method for localization and you've helped me with that, thanks! Definitely saving this for later reference.
    Side Note: I was amused with the different pronunciations of Godot each time the word was spoken 😂

    • @jitspoe
      @jitspoe  5 หลายเดือนก่อน

      As somebody who always has to use the jump cutter addon for 2x+ speed watching tutorials, I figured it'd be nice to make videos at the speed I prefer to watch them. 😁

  • @dmsys6516
    @dmsys6516 ปีที่แล้ว +2

    Extremely helpful channel

  • @Frandibujacosas
    @Frandibujacosas 8 หลายเดือนก่อน +1

    Thank you so much for this video! I really really apreciate it ^_^

  • @yzgrdyn-WiseGuardian-
    @yzgrdyn-WiseGuardian- 4 หลายเดือนก่อน +1

    Just, found this, and it's already been a huge help, though... could have done with it being a touch slower. But thank you.

  • @RichyWow
    @RichyWow 11 หลายเดือนก่อน +3

    By the way there’s a GoogleTranslate function in google sheet 😮

  • @humadi2001
    @humadi2001 9 หลายเดือนก่อน +1

    A hidden gem

  • @Yellow_Plus_Red
    @Yellow_Plus_Red 2 หลายเดือนก่อน +1

    0:29 Can someone explain why the on-screen text says: "FYI Don't do this for translations!"? I don't understand, why would this person show something in a tutorial and then tell us not to do it? What are we supposed to do? I am so confused. How else do we generate the translation files?? Wtf????

    • @jitspoe
      @jitspoe  2 หลายเดือนก่อน +2

      That's for if you want to use a CSV file for something other than translations. By default, csv files import as localization files, but you might want to use them for something else.

  • @KartikNarayanan
    @KartikNarayanan 7 หลายเดือนก่อน +9

    love the content but its too fast to grok.

    • @Rai2M
      @Rai2M 7 หลายเดือนก่อน +3

      Settings > Playback speed

  • @sergiomartinez2003
    @sergiomartinez2003 3 หลายเดือนก่อน

    Carajo! Que buen video!

  • @DobleCode
    @DobleCode ปีที่แล้ว +3

    it doesn't work 🤔, every time I import the csv it doesn't load the languages and only "translations_tutorial.csv" remains with an x in red (Godot 4)

    • @thomasboulvard9493
      @thomasboulvard9493 ปีที่แล้ว +5

      Hi !
      I had the same issue and I found out that Microsoft Excel will create an incorrect CSV file. You need to use either LibreOffice Calc or Google sheet to create your file and download it in CSV format. It worked for me by downloading the file from Google sheet.
      Hope this wil help you !

    • @jitspoe
      @jitspoe  ปีที่แล้ว

      @@thomasboulvard9493 Interesting. Can you specify the output format in Excel? Maybe it's not using UTF-8?

    • @z2csharp947
      @z2csharp947 11 หลายเดือนก่อน +2

      @@thomasboulvard9493 I had this same problem. I found that when you save it as a UTF-8 in Excel you get an extra line that is completely blank. I had a file that looked like this when I imported it into Notepad++ (Google Translate for Spanish and probably not 100% correct translation).
      line 1: keys,en,es
      line 2: ARE_YOU_SURE,Are you sure?,Estas seguro
      line 3:
      I deleted the extra line ending that somehow got in there and it worked just fine.

    • @z2csharp947
      @z2csharp947 11 หลายเดือนก่อน

      I just realized I replied to the wrong person. Apologies, this is the reason why the excel method wasn't working. At least on my end.

    • @claudeboellinger
      @claudeboellinger 11 หลายเดือนก่อน

      In Godot you need to go to the project settings, import defaults tab, select CSV translation and check if the delimiter is the same than your file (check it by opening the CSV file with notepad)

  • @nintoollica955
    @nintoollica955 3 หลายเดือนก่อน +1

    I downloaded a Godot game that's in Japanese, but it appears that the person who created the game doesn't have it localized to English. Is there a way for me to do that myself?

    • @haukauntrie
      @haukauntrie 19 วันที่ผ่านมา +1

      You could ask the creator to upload the POT-Files for the game to POEditor, so the community can translate the game!

  • @Frandibujacosas
    @Frandibujacosas 8 หลายเดือนก่อน

    I did the tutorial and it works! However I would like to learn something else.
    Suppose I have an options menu in my game.
    I would like to be able to select the language I want to play in from the menu itself, by pressing a button.
    By doing so, the game would switch to the selected language.
    Once I close the game, I would like it to remember the selection I made.
    Finally, it would also be nice to have a return to default button.
    If that were possible I would be very grateful to know how I can do it.
    I am learning Godot and everything is new to me.
    Thank you very much!

    • @jitspoe
      @jitspoe  8 หลายเดือนก่อน +1

      Hey, you can do this by calling TranslationServer.set_locale(). Then in your menu, you can have buttons that specify the different languages. To store the values, look into the ConfigFile class. Makes it really easy to set and get values stored to a file.

    • @Frandibujacosas
      @Frandibujacosas 8 หลายเดือนก่อน +1

      @@jitspoe thank you so much again! I'm going to try it :)

  • @victorpdesenvolvedor8088
    @victorpdesenvolvedor8088 4 หลายเดือนก่อน

    Please, could you tell me if there is a way to translate all the dialogs of Dialogic at once? I don't have time to create the translations so I would like to select everything and translate with an A.I or use some dialogic option or some other plugin, could you help me with that please?

    • @jitspoe
      @jitspoe  4 หลายเดือนก่อน +1

      I'm not familiar with Dialogic, sorry. Looks like it's an addon. Not sure if it handles its own localization or if there's a way to export it all somehow.

  • @AgnaktoreX
    @AgnaktoreX 8 หลายเดือนก่อน

    I wish it would work for me too T_T added the csv, let it generate the translation files, added the files in project settings, set text of a button so it contains a key and what happens? nothing :) Godot can be easy if you know how something is done. But its often not robust at all :(
    Edit: Okay, I just found out that the tr() method or the text of a button must ONLY contain the key and no other text, else it does not work. Man this is stupid ._.

    • @jitspoe
      @jitspoe  8 หลายเดือนก่อน +1

      Sometimes different languages handle things in different orders and such, so it's important to have the whole string translated as one, and if you need to mix things together, you can use string formatting with parameters.

  • @nosdregamon
    @nosdregamon ปีที่แล้ว

    0:29 "FYI: Don't do this for translations!" !? Wasn't this the point of the video?

    • @SnowPeaGames
      @SnowPeaGames ปีที่แล้ว +8

      It was a bonus tip. He gave what to do for translations, and then what you CAN do for other things that aren't translations

  • @Muslims_empire-FPS
    @Muslims_empire-FPS 2 หลายเดือนก่อน

    Thank youuuuuuuuuuuu

  • @breakmt
    @breakmt 6 หลายเดือนก่อน +2

    Cool info, but too fast

  • @death-dg3ns
    @death-dg3ns 6 หลายเดือนก่อน

    But is there a way to add non existing languages???

    • @jitspoe
      @jitspoe  6 หลายเดือนก่อน +6

      I think that might require modifying the engine. You could also use a lesser-used language as a user-selectable language and just display a different name in your UI.

    • @sera_kath
      @sera_kath 4 หลายเดือนก่อน +3

      I have tested it quickly.
      I added a language with the locale "draconic" and I was able to apply translations to the main menu of my game.
      I only tested it with latin script and placeholder text and I don't know if there are other issues later.
      But according to this quick test in Godot 4.3 it is possible.

  • @modularcuriosity
    @modularcuriosity 10 หลายเดือนก่อน +3

    guh doot !?

    • @jitspoe
      @jitspoe  10 หลายเดือนก่อน +1

      Gooduh!

  • @connorjade5460
    @connorjade5460 8 หลายเดือนก่อน +1

    Can you make a full tutorial please??

    • @jitspoe
      @jitspoe  8 หลายเดือนก่อน

      What's missing from this that you need covered?

    • @connorjade5460
      @connorjade5460 8 หลายเดือนก่อน

      @@jitspoe I used a switch (match) case with options(enum) button menu. As I change it's options so does the language of the text(in my case it's japanese). My question is do we have to manually change every text's language in the game inside the switch cases? And if that is the case, how can I save my preference into the resources file so that when the player opens the game again, he'll see his select language already?

    • @connorjade5460
      @connorjade5460 8 หลายเดือนก่อน

      @@jitspoe though the video is extremely helpful

    • @jitspoe
      @jitspoe  8 หลายเดือนก่อน +1

      @@connorjade5460 Nope. If you've localized things properly, you should just need to set the language and all the UI buttons, text run through the tr() function, etc should just update to the appropriate language.

  • @AgriasOaks99
    @AgriasOaks99 ปีที่แล้ว +1

    Cool

  • @igorribeiro8934
    @igorribeiro8934 ปีที่แล้ว +2

    Legal

    • @jitspoe
      @jitspoe  ปีที่แล้ว +2

      I hope so!

    • @volvaire6541
      @volvaire6541 ปีที่แล้ว +1

      @@jitspoe This interaction is golden, I'm guessing the person that commented is Brazilian(?

    • @jitspoe
      @jitspoe  ปีที่แล้ว

      @@volvaire6541 I hope so!

    • @igorribeiro8934
      @igorribeiro8934 ปีที่แล้ว +1

      @@volvaire6541 Yes, I meant cool 😁

  • @individualvideos
    @individualvideos ปีที่แล้ว +1

    insane

    • @jitspoe
      @jitspoe  ปีที่แล้ว

      Nobody has ever called me sane.

  • @mohsenkheyrabadi4458
    @mohsenkheyrabadi4458 หลายเดือนก่อน

    Too fast! please slow down a bit!