YAPLocalizer 0.1.2
dotnet add package YAPLocalizer --version 0.1.2
NuGet\Install-Package YAPLocalizer -Version 0.1.2
<PackageReference Include="YAPLocalizer" Version="0.1.2" />
<PackageVersion Include="YAPLocalizer" Version="0.1.2" />
<PackageReference Include="YAPLocalizer" />
paket add YAPLocalizer --version 0.1.2
#r "nuget: YAPLocalizer, 0.1.2"
#:package YAPLocalizer@0.1.2
#addin nuget:?package=YAPLocalizer&version=0.1.2
#tool nuget:?package=YAPLocalizer&version=0.1.2
YapLocalizer
Utility mod for adding localized text to the game!
Features
This utility mod is designed for mod developers to make adding new localizations quick and easy!
- Add Localized Text or Verbal Commands easily with
ModLocalizedTextandModLocalizedPhrase
ModLocalizedText - Adds modded localized text with optional translations
Simply define a key and any translations you'd like to add.
Example:
.SetLocalization(SystemLanguage.English, "Test");
- The above example would translate any localized text with key
TEST_LOCAL_KEYtoTestwhen the game language is set to english.
NOTE: If you do not set any translations, the LocalizationKey will be displayed instead.
An Optional fallbackResult can be defined that will be displayed when localization fails.
ModLocalizedPhrase - Adds modded voice commands with optional localizations
Define a key and any translations you'd like to add. Constructor takes a "Default Command" for when localization fails.
Example:
.AddLocalization(SystemLanguage.Italian, ["cane", "alto"]);
- The above example would replace
UP DOG'slocalization values. - It defines a localization for Italian, which currently is not supported in-game.
- If YAPYAP were to include an updated localization for italian, the above localization would be used.
- Any other undefined language currently in the game will use the default command,
UP EASEunless otherwise specified viaAddLocalization
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.1 is compatible. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- BepInEx.Core (>= 5.4.21)
- HarmonyX (>= 2.9.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.