Ability to Pull all String Table using editor script or pre build

Hello!

I was wondering if it would be possible to pull all tables from an excel sheet with a single click or pre-build automatically.

The Google Sheet samples, which can be found in the package manager, show how to automate Google Sheets in this way.

1 Like

Hello, I am also looking for samples about GoogleSheetsExtension mentioned in the comments of the code:

    /// <example>
    /// This example uses the data that was configured in the <see cref="GoogleSheetsExtension"/> to perform a Push.
    /// <code source="../../../DocCodeSamples.Tests/GoogleSheetsSamples.cs" region="push-with-extension"/>
    /// </example>
    /// <example>
    /// This example shows how to use the data that was configured in a Google Sheets extension to perform a pull.
    /// <code source="../../../DocCodeSamples.Tests/GoogleSheetsSamples.cs" region="pull-with-extension"/>
    /// </example>
    /// <example>
    /// This example shows how to push every <see cref="StringTableCollection"/> that contains a <see cref="GoogleSheetsExtension"/>.
    /// <code source="../../../DocCodeSamples.Tests/GoogleSheetsSamples.cs" region="push-all-extensions"/>
    /// </example>
    /// <example>
    /// This example shows how to pull every <see cref="StringTableCollection"/> that contains a <see cref="GoogleSheetsExtension"/>.
    /// <code source="../../../DocCodeSamples.Tests/GoogleSheetsSamples.cs" region="pull-all-extensions"/>
    /// </example>

But I can’t find these samples in the manager package in version 1.0.0 or 1.0.1. Am I missing something?

Thanks for your help.

The google sheet samples were moved into the scripting documentation.
https://docs.unity3d.com/Packages/com.unity.localization@1.0/api/UnityEditor.Localization.Plugins.Google.GoogleSheets.html
You can also find those files in the package if you want to see all the example code in 1 place.

Thank you , and by the way, you are doing a great job on this package.

1 Like