在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):dekdevy/hordes-loc开源软件地址(OpenSource Url):https://github.com/dekdevy/hordes-loc开源编程语言(OpenSource Language):JavaScript 100.0%开源软件介绍(OpenSource Introduction):hordes-locCommunity driven text and localization repository for the browser game Hordes.io. This is a library of strings for all in-game text, user interface labels, game lore, item descriptions, etc. This repository is a public submodule of the hordes.io sourcecode, containing a build script to compile files found in Resources for first timers and GitHub beginners
ContributingFor your first translations, please fork the repository and start editing files that way. If everything looks good, your edits will be merged into the main repository. Make sure to read all the comments in the files and take them seriously. Do not translate placeholder texts. Do not translate unique names. If you are unsure, cross-check with other translations to see whether a word is translated or not. For example, words like party, clan or unique names like Yggdrasil will generally not be translated to make sure players can communicate effectively regarding fundamental concepts of the game. Any text which has a New languages and translations are always welcome, so feel free to make a PR. Any language types are welcome.
In order to contribute translations, simply add them to the respective files in the If you want to check the status of any translation, go to this link and select the "run npm test" result which informs us about translation status of all the languages. Detecting loc types...
Found 23 languages
Compiling...
en → 534/534 100%
fr → 460/534 86%
ru → 459/534 85%
it → 408/534 76%
de → 405/534 75%
...
Exporting...
en -> en.json
de -> de.json
ru -> ru.json
... If you want to check which languages are missing in a file, navigate to the file name in this link, which informs us about missing languages in a file. Finding missing translations...
classes archer description → [de, tr, es] ExamplesLets say we want to add a German translation to some of the strings for the Archer class. We navigate to export default {
// The class name
name: {
en: 'Archer',
ru: 'Лучник'
},
// Class description, visible during character creation
description: {
en: 'Archers deal high single target damage and bursty...',
ru: 'Лучники наносят высокий урон по одиночной цели и...'
}
} All strings are contained in objects that hold translations for any amount of languages. The default language will generally be To add a translation, simply add a language code ( // The class name
name: {
en: 'Archer',
ru: 'Лучник',
de: 'Jäger'
} We do not have to add a German translation for the |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论