|
@@ -110,8 +110,8 @@ Language=en ;The language to translate into
|
|
FromLanguage=ja ;The original language of the game
|
|
FromLanguage=ja ;The original language of the game
|
|
|
|
|
|
[Files]
|
|
[Files]
|
|
-Directory=Translation ;Directory to search for cached translation files
|
|
|
|
-OutputFile=Translation\_AutoGeneratedTranslations.{lang}.txt ;File to insert generated translations into
|
|
|
|
|
|
+Directory=Translation ;Directory to search for cached translation files. Can use placeholder: {GameExeName}
|
|
|
|
+OutputFile=Translation\_AutoGeneratedTranslations.{lang}.txt ;File to insert generated translations into. Can use placeholders: {GameExeName}, {lang}
|
|
|
|
|
|
[TextFrameworks]
|
|
[TextFrameworks]
|
|
EnableUGUI=True ;Enable or disable UGUI translation
|
|
EnableUGUI=True ;Enable or disable UGUI translation
|
|
@@ -143,7 +143,7 @@ TextGetterCompatibilityMode=False ;Indicates whether or not to enable "Text Gett
|
|
GameLogTextPaths= ;Indicates specific paths for game objects that the game uses as "log components", where it continuously appends or prepends text to. Requires expert knowledge to setup. This is a list seperated by ';'.
|
|
GameLogTextPaths= ;Indicates specific paths for game objects that the game uses as "log components", where it continuously appends or prepends text to. Requires expert knowledge to setup. This is a list seperated by ';'.
|
|
|
|
|
|
[Texture]
|
|
[Texture]
|
|
-TextureDirectory=Translation\Texture ;Directory to dump textures to, and root of directories to load images from
|
|
|
|
|
|
+TextureDirectory=Translation\Texture ;Directory to dump textures to, and root of directories to load images from. Can use placeholder: {GameExeName}
|
|
EnableTextureTranslation=False ;Indicates whether the plugin will attempt to replace in-game images with those from the TextureDirectory directory
|
|
EnableTextureTranslation=False ;Indicates whether the plugin will attempt to replace in-game images with those from the TextureDirectory directory
|
|
EnableTextureDumping=False ;Indicates whether the plugin will dump texture it is capable of replacing to the TextureDirectory. Has significant performance impact
|
|
EnableTextureDumping=False ;Indicates whether the plugin will dump texture it is capable of replacing to the TextureDirectory. Has significant performance impact
|
|
EnableTextureToggling=False ;Indicates whether or not toggling the translation with the ALT+T hotkey will also affect textures. Not guaranteed to work for all textures. Has significant performance impact
|
|
EnableTextureToggling=False ;Indicates whether or not toggling the translation with the ALT+T hotkey will also affect textures. Not guaranteed to work for all textures. Has significant performance impact
|
|
@@ -524,7 +524,8 @@ I recommend using this class, or in case that cannot be used, falling back to th
|
|
### How-To
|
|
### How-To
|
|
Follow these steps:
|
|
Follow these steps:
|
|
1. Download XUnity.AutoTranslator-Developer-{VERSION}.zip from [releases](../../releases)
|
|
1. Download XUnity.AutoTranslator-Developer-{VERSION}.zip from [releases](../../releases)
|
|
- 2. Start a new project in Visual Studio 2017 or later. I recommend using the same name for your assembly/project as the "Id" you are going to use in your interface implementation. This makes it easier for users to know how to configure your translator
|
|
|
|
|
|
+ 2. Start a new project (.NET 3.5) in Visual Studio 2017 or later. I recommend using the same name for your assembly/project as the "Id" you are going to use in your interface implementation. This makes it easier for users to know how to configure your translator
|
|
|
|
+ * I recommend using the "Class Library (.NET Standard)" and simply editing the generated .csproj file to use 'net35' instead of 'netstandard2.0'. This generates much cleaner .csproj files.
|
|
3. Add a reference to the XUnity.AutoTranslator.Plugin.Core.dll that you downloaded in step 1
|
|
3. Add a reference to the XUnity.AutoTranslator.Plugin.Core.dll that you downloaded in step 1
|
|
4. You do not need to directly reference the UnityEngine.dll assembly. This is good, because you do not need to worry about which version of Unity is used.
|
|
4. You do not need to directly reference the UnityEngine.dll assembly. This is good, because you do not need to worry about which version of Unity is used.
|
|
* If you do need a reference to this assembly (because you need functionality from it) consider using an old version of it (if `UnityEngine.CoreModule.dll` exists in the Managed folder, it is not an old version!)
|
|
* If you do need a reference to this assembly (because you need functionality from it) consider using an old version of it (if `UnityEngine.CoreModule.dll` exists in the Managed folder, it is not an old version!)
|