Comments (6)
Hey @haoasakura12
Sorry for the late reply! Translations to community sheets are always greatly appreciated. However, we don't accept translations directly through this repo anymore - instead, you can translate these sheets through Crowdin!
This article should walk you through the process to add translations, but don't hesitate to reach out if you have any further questions!
from roll20-character-sheets.
I finally could translate it from Crowdin.
There are other World of Darkness sheets I want to translate, but I didn't find them on the website (CWOD-Mage, CWOD-Demon, and CWOD-Changeling). These folders are here on Github, but I couldn't find them there. Could someone help me?
from roll20-character-sheets.
Hey @haoasakura12
Those games are missing translation support on sheet-side. For a sheet to be translatable, it needs data-i18n
attributes on its labels/other elements in html, and a translation.json
file in the main sheet folder. This wiki page explains the process in further detail! Once the translation.json file is there with only english translations, the sheet will appear on Crowdin, and autogenerate the "two-letter" translation files in its "translations" folder that you saw in CWOD-M20. From there, you can take the same steps with that sheet to add Portuguese translations.
To clarify, this initial setup - the translation.json and data-i18n attributes - can be submitted as a PR to this repo! It's just the two-letter translation files that we don't handle here, and leave to Crowdin.
Please don't hesitate to reach out with any further questions about this process! Sorry it's a few extra hoops to jump through, but we don't make translation support a requirement of new sheets, so many are added without - and need the little extra setup to get onto Crowdin with proper keys.
from roll20-character-sheets.
Thank you for your support.
Hum... I'll read the Wiki you sent me.
I think.. Is there a problem if I use the current HTML file in the folders as a base for changing it to the data-i18n format?
Besides, Is there a way I can test my changes? I'm trying to open the HTML I created but the aren't any columns...
from roll20-character-sheets.
Hey @haoasakura12
That's exactly the right idea - you'll want to start with that HTML file, then start adding data-i18n attributes to each label or bit of static text you want to be translatable., and submit it together with the translation.json as an update to that sheet folder.
To test sheets you're editing on Roll20 properly, you'll want to use either the Custom Sheet Sandbox (this one's much nicer to use) or Custom Sheet Editor to load your sheets in progress on the VTT and see if they work as expected. These features are limited to Pro accounts, however.
from roll20-character-sheets.
Ok
Thank you again!
A new question.
I made a small change in the CSS file. How can I submit the three files (HTML, CSS and translation.JSON) at the same time?
from roll20-character-sheets.
Related Issues (20)
- [Das Schwarze Auge (TDE) 5 OFFICIAL by Ulisses] The french translation has been completely overwritten by the english translation HOT 3
- [GURPS] Death Checks using Unconscious Check modifier?
- [GURPS] 2.9.20 rollback and Roll20 issue with newly added field
- [Mongoose Traveller] Computers skill show/hide broken, Deception formula wrong HOT 1
- German Translation HOT 1
- Help! My local GIT keeps changing Skyfall/imgs/logo.png for some reason HOT 3
- [Paladin] Want to add a new logo to the Paladin SRC repository HOT 1
- Vaesen RPG character sheets HOT 3
- [Pendragon 5.2/6] Squire section bug, I may have a fix
- Files for Medievo Oscuro have wrong line endings HOT 4
- Fallout V&D - Sheet Appearance Issue
- Missing Sheet Contribution - The Unofficial Hollow Knight RPG HOT 1
- Old Dragon 2e sheet no longer showing up on Roll20 HOT 3
- ChroniquesOubliees: Roll20 displays documentation instead of sheet. HOT 3
- Character sheet is not displaying correctly on any browser HOT 2
- Roll template font issues HOT 1
- Skyfall sheet.json Line Ending Conflicts
- rpg
- trail of cthulhu HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from roll20-character-sheets.