I am a bit rusty but belive you can do this in the index file, of course it may take another step. As far as programing it has to be in English but you can make the text the player reads in the language required
First download a new copy of CS (It sounds like you have an old one).
Second: When go into the web folder, the mygame folder, then right click the index file and open that with a text editor (notepad). You should be able to see the names of the buttons and edit them from there IIRC.
IIRC the buttons are now updated via a function in ui.js (printFooter() maybe? I know it’s a header shrug). Changing them in index.html won’t be enough.
function printFooter() { // var footer = document.getElementById('footer'); // We could put anything we want in the footer here, but perhaps we should avoid it. var statsButton = document.getElementById("statsButton"); if (statsButton) { if (window.stats.sceneName == "choicescript_stats") { statsButton.innerHTML = "Return to the Game"; } else { statsButton.innerHTML = "Show Stats"; } } setTimeout(function() {callIos("curl");}, 0); }
Now replace “Show Status” for anithing you want in any language:
Example:
function printFooter() { // var footer = document.getElementById('footer'); // We could put anything we want in the footer here, but perhaps we should avoid it. var statsButton = document.getElementById("statsButton"); if (statsButton) { if (window.stats.sceneName == "choicescript_stats") { statsButton.innerHTML = "Voltar ao jogo"; } else { statsButton.innerHTML = "Mostrar Status"; } } setTimeout(function() {callIos("curl");}, 0); }
I downloaded the newest, but I can only find this, and when i change the names game breaks.
function printFooter() {
// var footer = document.getElementById(‘footer’);
// We could put anything we want in the footer here, but perhaps we should avoid it.
var statsButton = document.getElementById(“statsButton”);
if (statsButton) {
if (window.stats.scene.secondaryMode == “stats”) {
statsButton.innerHTML = “Return to the Game”;
} else {
statsButton.innerHTML = “Show Stats”;
if (window.isAndroidApp && window.statsMode.get()) {
showStats();
}
}
}
curl();
}
Changing to:
function printFooter() {
// var footer = document.getElementById(‘footer’);
// We could put anything we want in the footer here, but perhaps we should avoid it.
var statsButton = document.getElementById(“statsButton”);
if (statsButton) {
if (window.stats.scene.secondaryMode == “stats”) {
statsButton.innerHTML = “Atgriesties Spēlē”;
} else {
statsButton.innerHTML = “Rādīt papildus lietas”;
if (window.isAndroidApp && window.statsMode.get()) {
showStats();
}
}
}
curl();
}