You are not logged in.
Pages: 1
on_language
on_language language new state
This command would be very useful in the scene "donate" and early in the game. Even using other languages, these cutscenes is in English.
example
object ".Donate_Cutscene"
{
requires 0.2.0
state "main"
{
on_language "english" "1"
on_language "cestina" "2"
on_language "portugues" "3"
...
}
state "1"
{
...
}
state "2"
{
...
}
state "3"
{
...
}
}
Last edited by MatheusRRR (2012-10-08 22:50:28)
Offline
I don't understand the motivation behind the request.
This command would be very useful in the scene "donate" and early in the game. Even using other languages, these cutscenes is in English.
It wouldn't.
The reason why the cutscenes are in english is because they simply haven't been translated yet.
Offline
I don't understand the motivation behind the request.
MatheusRRR wrote:This command would be very useful in the scene "donate" and early in the game. Even using other languages, these cutscenes is in English.
It wouldn't.
The reason why the cutscenes are in english is because they simply haven't been translated yet.
ok
Offline
yeah, every phrase in the game has a string defined in the language file, so for example:
english.lng
$HELLO_WORLD "hello world"
portuguese.lng
$HELLO_WORLD "olá mundo"
as you can see the string name is the same in both languages, only the text changes.
https://discord.gg/w8JqM7m ---> Open Surge's Discord server
Offline
he's right; take a look at
Offline
on_language
on_language language new stateThis command would be very useful in the scene "donate" and early in the game. Even using other languages, these cutscenes is in English.
example
object ".Donate_Cutscene"
{
requires 0.2.0state "main"
{
on_language "english" "1"
on_language "cestina" "2"
on_language "portugues" "3"
...
}state "1"
{
...
}state "2"
{
...
}state "3"
{
...
}
}
Last edited by MatheusRRR (2012-10-08 20:50:28)Official Sonic X Blog Brazil
i think also it is not necessary because there are the language files that are used for this
the only reason i could see in the donation screen is in a situation where an user decides to donate, according to the language he/she speaks is the page/locale web address the game send to
Offline
i think also it is not necessary because there are the language files that are used for this
the only reason i could see in the donation screen is in a situation where an user decides to donate, according to the language he/she speaks is the page/locale web address the game send to
Even then, the donate page could have a language select area.
-- svgmovement
Offline
when the game is run for the first time (try unpacking it to a new place), the game asks the user which language he or she prefers
Offline
CharlyTx wrote:i think also it is not necessary because there are the language files that are used for this
the only reason i could see in the donation screen is in a situation where an user decides to donate, according to the language he/she speaks is the page/locale web address the game send toEven then, the donate page could have a language select area.
-- svgmovement
Certo! the donate web could have a lang select combobox
I tell you again I think the on_language command isn't necessary
Offline
when the game is run for the first time (try unpacking it to a new place), the game asks the user which language he or she prefers
My homepage | Rapid brickset editor 2
I computer science.
simply try erasing preferences.dat and the language select screens appears
Offline
Pages: 1