-
Notifications
You must be signed in to change notification settings - Fork 13
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
Google Translate with Google Sheets #6
Comments
@LiamKarlMitchell wow thanks that's really helpful! I'm definitely gonna use this on Fudget 2. |
@LiamKarlMitchell we can also use an if statement to check that the source field is not blank before we do the translation, so that we can avoid errors on blank lines (if, for example we're separating different sections with blank lines and comments, as below): |
Yeah, google sheet works great, just need to automate download from it. |
Thanks for your Quasar videos btw @dannyconnell |
Formula with check for not empty. Also you can download CSV automagically. I was considering extending the watcher command to have an optional -gs googlesheeturl that it could poll for difference. If you make a google sheet public for anyone with url can view. URL to download a google sheet looks like. Or rather than extending for now, maybe I'de just make an accompanying script that does the download and re-executes quasalang seems to work well enough. |
Found a nice way to populate the translations quickly using Google Translate via Google Sheets.
Language codes can be found here.
https://cloud.google.com/translate/docs/languages
The formula entered into a new Locale column you want to add to your translations sheet.
Then you can drag the formula down all the cells.
Then you can File | Download | CSV and replace the one in your project file and generate as normal.
The text was updated successfully, but these errors were encountered: