Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better support for translation #238

Open
Jeremi360 opened this issue May 22, 2023 · 0 comments
Open

Better support for translation #238

Jeremi360 opened this issue May 22, 2023 · 0 comments
Labels
enhancement New feature or request majorChange Add this pr to changelog and should describe it proposal proposal how improve Rakugo RakuScript Rakugo Scripting Dialogue Langue

Comments

@Jeremi360
Copy link
Contributor

Jeremi360 commented May 22, 2023

So now the only why it is to for translation using RDS is to use build-in Godot Rempas tool and remaping each rkscript to its other langue version, like on screenshot bellow - which is a very bad soluction.
image

I propose to use godot build in tr() function this works with godot build in translation form .csv file.
So then it can works like this in RakuScript:

dialog_with_translation:
    dev tr[welcome_in_my_game]
    player.name = ? tr[player_name_question]
    
    menu translated_menu:
      tr[choice_01]
      tr[choice_02]

What do you think @theludovyc ?

@Jeremi360 Jeremi360 added enhancement New feature or request RakuScript Rakugo Scripting Dialogue Langue proposal proposal how improve Rakugo majorChange Add this pr to changelog and should describe it labels May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request majorChange Add this pr to changelog and should describe it proposal proposal how improve Rakugo RakuScript Rakugo Scripting Dialogue Langue
Projects
None yet
Development

No branches or pull requests

1 participant