This project generate translation libraries using Visual Studio.
The libraries are used by Human Navigation.
This repository is not used because we put the redistributable libraries in the common-unity.
It is just reference information.
- Windows 10
- Visual Studio 2019
- Launch Visual Studio 2019.
- Open the TranslationLibraryGenerator.sln with Visual Studio.
- Click [Build]-[Build Solution].
The purpose of this project is to generate libraries, but it is also possible to run an executable file and check the translation.
- Build the execution environment of Google Cloud Translation.
https://cloud.google.com/translate/
(reference information at wiki) - Launch a command prompt.
- Run an executable file.
> cd TranslationLibraryGenerator\bin\Release
> TranslationLibraryGenerator "I have an apple" "ja" "en"
りんごを持っています。
The following libraries are generated in a "TranslationLibraryGenerator\bin\Release" folder.
Drag and drop these libraries into the Assets/Plugins/x86_64 folder of the Unity project.
- Google.Api.Gax.dll
- Google.Api.Gax.Rest.dll
- Google.Apis.Auth.dll
- Google.Apis.Auth.PlatformServices.dll
- Google.Apis.Core.dll
- Google.Apis.dll
- Google.Apis.PlatformServices.dll
- Google.Apis.Translate.v2.dll
- Google.Cloud.Translation.V2.dll
- System.Diagnostics.DiagnosticSource.dll
- System.Interactive.Async.dll
- System.Net.Http.dll
- System.Security.Cryptography.Algorithms.dll
- System.Security.Cryptography.Encoding.dll
- System.Security.Cryptography.Primitives.dll
This project is licensed under the MIT License - see the LICENSE file for details.
--- And you need to agree to the following license to use the generated libraries. ---
--- https://dotnet.microsoft.com/dotnet_library_license.htm ---
Library list