Open ntimo opened 8 years ago
Hello,
For the time format: its easy :D download the new 0.9.3 https://dev.bukkit.org/bukkit-plugins/coreprotect-lwi/files/9-v0-9-3/ and change in the config.json en-US to "de"
{ "form": { "locale": "de", "dateFormat": "ll", "timeFormat": "LTS", "timeDividor": 300, "pageInterval": 25 } }
For the whole interface:
You need to translate it for yourself example (index.php):
<li class="nav-item"><a class="nav-link" href="#top">Top</a></li>
to:
<li class="nav-item"><a class="nav-link" href="#top">Nach oben</a></li>
etc.
greetz
"Hey es ist eigentlich ganz einfach, für das Zeit Format musst du dir nur die neue Version 0.9.3 downloaden https://dev.bukkit.org/bukkit-plugins/coreprotect-lwi/files/9-v0-9-3/ und in der config.json das englische format en-US zu "de" ändern.
{ "form": { "locale": "de", "dateFormat": "ll", "timeFormat": "LTS", "timeDividor": 300, "pageInterval": 25 } }
Wenn du das gesamte Interface übersetzen willst, mußt du das wohl oder übel selber machen. Zum Beispiel in der index.php (oder auch in der login.php, lookup.js) findest du die strings.
Beispiel:
<li class="nav-item"><a class="nav-link" href="#top">Top</a></li>
zu:
<li class="nav-item"><a class="nav-link" href="#top">Nach oben</a></li>
usw.
Grüße
Would it save anyone's lives if the plugin had full localization support? I'm considering it, but I'm not sure if it would be worth the time.
It's not hard to add, but it's going to require replacing a lot of things with a variable and echoing everything using PHP.
@SimonOrJ Sure that would be amazing.
@SimonOrJ do you have any news for us? :)
Sorry, I've been busy with school and my own things to work on this. I can't promise when I can get back into coding this, but I'll do it eventually.
I hope you will. I love the project :)
@SimonOrJ do you have any news to share?
I'm crumblijg down into pieces from all the school work I have to do this semester...
I will definitely post something here when I can get to it. Or someone else can do it and PR the code. I'm under some stress as of now.
I've started rewriting a lot of the backend code. I will get to this when I get to the front-end eventually!
You can follow the progress on the v1.10.0-SNAPSHOT branch
Hi there, I just wanted to ask how I can change the language and time format to german?
Thank you, Timo