Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Stupid question regarding translation.json and sheet.json

1730716097
Chris Jones
Pro
Sheet Author
So i've been searching and reading various subjects on this question, but not really finding the answer i need, so i figured i'd head to the experts for what i hope is a simple question. I'm uploading a new sheet to github comprised of an HTML, CSS, and translation.JSON file which  all works great in my sandbox. I noticed that the sheet.json file you upload with it, while it asks for the HTML and CSS files, doesn't mention translation as such. I went and checked a sheet i uploaded last year (that i use, but i never bothered switching to the uploaded code, and instead still use the "custom" content, as it's ultimately still the same). This other sheet is showing a whole lot of red, so the Translation file clearly isn't being used, even though i uploaded it to Github along with the HMTL and CSS. I want to ensure i don't make the same mistake again (and fix my other error), so how do i make it known that the translation file needs to be used here? I'm sure its super simple and obvious, but even though i can see many references to translation content and sheet.json, none seem to be what i'm looking for. Any guidance is greatly appreciated!
1730729166
GiGs
Pro
Sheet Author
API Scripter
The sheet.json allows you to declare the names of your html and css files, but the translation.json file must always have the same name so it doesn't need to be included. If the translation.json file is there it will be used, and if it is not, it won't.
1730735300
Chris Jones
Pro
Sheet Author
OK, think i understand - i suspect i altered the name of my translation.json last time! Thanks again!