You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm making a mod in Spanish and English, and in the songs there are dialogues that will be in both languages, Well I want to put 2 audios of the voices in "songs/song-name/Voices-Spanish" and the other "songs/song-name/Voices-", from the lang file depending on the selected language, how do I do it?
It is to avoid making 2 builds in different languages
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No response
The text was updated successfully, but these errors were encountered:
Check ClientPrefs there you can find a line "public var language:String = 'en-US';"
If I'm not mistaken, then you can check to this value, for example if language equal en-ES then the Spanish audio will start
Describe your problem here.
I'm making a mod in Spanish and English, and in the songs there are dialogues that will be in both languages, Well I want to put 2 audios of the voices in "songs/song-name/Voices-Spanish" and the other "songs/song-name/Voices-", from the lang file depending on the selected language, how do I do it?
It is to avoid making 2 builds in different languages
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No response
The text was updated successfully, but these errors were encountered: