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
This post has been closed. You can still view previous posts, but you can't post any new replies.

Add resource file link for translating character sheets

1457110278

Edited 1457110543
chris b.
Pro
Sheet Author
API Scripter
Now that we can easily add an attribute to a span tag to display text instead of hardcoding it in the html, a great application of the span  is to have true ResourceBundles that can be used to translate the character sheets into different languages. it would also give GMs with Pro access the ability to customize sheets much more easily, since a sheet that supports a resourcebundle for display would have all their text in a separate file, away from the code.  Such a file would most easily be located in the character sheet directory that we load into the github repository, and we could designate the filename in the json file. To link to the resource file, we could do it in sheetworkers or in the html. (html would be best since .. then there would be no "set" called on the attribute, and it would not generate a ton of attributes) Also, to guarantee no "set" is called that generates attributes, a single link for one "locale" would be best. otherwise, allowing users to choose locales could be allowed, though that might result in repopulating attributes which will make them add up on the character. but that would be up to the character sheet author.
1460055113
chris b.
Pro
Sheet Author
API Scripter
looks like this is completed (in dev )
1460058157
vÍnce
Pro
Sheet Author
And... without even a comment on your suggestion.  Awesome job Chris. Doesn't this mean more work for sheet authors... damn you. ;-)
1550175468
Roll20 Dev Team
Pro
Marketplace Creator
Thanks for the suggestion! After 30 days, Suggestions and Ideas with fewer than 10 votes are closed and the votes are refunded to promote freshness. Your suggestion didn't build the right momentum this time, but feel free to submit it again! We find that the best suggestions describe the problem you are having, and the solution you want. You can learn more about the process of making suggestions on the Roll20 Wiki! More details can be found here .