We're using I2 in an application and we find that as we release new versions, we periodically need to create a new spreadsheet to avoid changing language in old versions of the app. One thing we've run into is the caching of localization is not version independent.
Let's say we have two versions of the app each using its own spreadsheet ("old App" uses "1st sheet", "new app" uses "2nd sheet").
- Install "old app". User prefs are updated with "1st sheet" version and last updated timestamp
- continue to make changes to "1st sheet", all is fine
- start dev on "new app" and create "2nd sheet"
- make changes to "2nd sheet", all is fine
- Install "new app". User prefs are updated with "2nd sheet" version and last update, all is fine
- Make a change to "1st sheet" and run "old app". User prefs are updated with "1st sheet" version and last updated
- Run "new app"
- The cache still points to "1st sheet" information because the timestamp and version are the "latest"
- It doesn't know that we're on a different sheet
- Make a change to every spread sheet in consecutive order to ensure the later ones have a later timestamp
- You should probably cache the spreadsheet Id along with the version/time stamp so you can clear the cache when the sheet id is different from last cached.
The administrator has disabled public write access.
Versioning localization sheets
3 months 3 weeks ago #2972
I normally try releasing a full version every 2 months. So that its fast enough to keep your games always with the latest improvements, but not too often that you have to spend more time integrating I2 Localization than building your game.
Nonetheless, I always release several alphas and betas during those 2 months in-between versions. That way you can get the fixes and improvements as fast as possible, or wait until a full release.
Hope that helps,
Are you Give I2L 5 stars!
Are you Please lets us know how to improve it!