Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Card creator: re-support Translations by enabling inputting multiple CSVs #902

Open
toddmedema opened this issue Feb 1, 2023 · 0 comments

Comments

@toddmedema
Copy link
Contributor

With the change to the Google API and only being able to import one CSV at a time, you can no longer input the Translations tab along with other cards. See here, where the system-level text like STARTING ABILITIES doesn't get translated

http://cards.expeditiongame.com/?theme=Color&source=https%3A%2F%2Fdocs.google.com%2Fspreadsheets%2Fd%2Fe%2F2PACX-1vRFEgdeXT-YgfyuYJMGKgOTi--8rxaT3mcc7maXSspWbejTKkvOAeQQwZZIAsO1A-jRbcjvda_sPWyp%2Fpub%3Fgid%3D558719643%26single%3Dtrue%26output%3Dcsv

Proposed solution: Allow the custom input dialog + URL to support multiple CSVs. Perhaps the user pre-processes everything they want into a single string and input it, e.g. 2PACX-1vRFEgdeXT-YgfyuYJMGKgOTi--8rxaT3mcc7maXSspWbejTKkvOAeQQwZZIAsO1A-jRbcjvda_sPWyp,Translations,245544,Ability,4234234

(Maybe Translations will always need to be first so that it's applied when the other card data is loaded?)

Breaking down two Google URLS of tabs from the same sheet, we can see that the sheet ID is the same and it's just the GID that changes, so users could start with the sheet ID, then do a comma-separated list of sheetname,sheetgid?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant