https://github.com/macav/flutter-google-i18n
https://github.com/macav/flutter-google-i18n
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/macav/flutter-google-i18n
- Owner: macav
- License: mit
- Created: 2020-12-18T14:14:27.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-04-09T10:43:41.000Z (about 5 years ago)
- Last Synced: 2025-10-23T01:32:13.543Z (8 months ago)
- Language: Dart
- Size: 1.78 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# flutter-google-i18n
A small library for internationalizing a Flutter app using Google spreadsheet.

## Example
You can view the demo app here: https://github.com/macav/flutter-google-i18n-demo
## How to get the spreadsheet JSON link
Open the spreadsheet with the translations, which is structured in the same way as the demo one.
Now you need to also publish the document to the web.
Click on File -> Publish to the web -> Publish. You can ignore the link provided.
Then you need to get a shareable link.
Click on File -> Share -> Get link
You will get a link in the following format:
https://docs.google.com/spreadsheets/d//edit?usp=sharing
Now replace the identifier in the following link:
https://spreadsheets.google.com/feeds/list//1/public/values?alt=json
You should get the spreadsheet data in a JSON format.
A link for this demo looks like this:
https://spreadsheets.google.com/feeds/list/1TGbtKpdNRptYwUVtqmkI2L7Ix00i-fQMnrChGHx2Ajk/1/public/values?alt=json