Localization Mod for Stardew Valley Android
Go to file
ZaneYork 5eab0d8801 BUG fix 2020-03-20 21:22:24 +08:00
Rewrites first commit 2020-02-10 16:08:56 +08:00
.gitignore first commit 2020-02-10 16:08:56 +08:00
LICENSE.txt first commit 2020-02-10 16:08:56 +08:00
ModConfig.cs first commit 2020-02-10 16:08:56 +08:00
ModEntry.cs BUG fix 2020-03-20 21:22:24 +08:00
README.md Update README.md 2020-02-10 16:11:55 +08:00
SMAPI.Mods.CustomLocalization.csproj first commit 2020-02-10 16:08:56 +08:00
SMAPI.Mods.CustomLocalization.sln first commit 2020-02-10 16:08:56 +08:00
manifest.json BUG fix 2020-03-20 21:22:24 +08:00

README.md

Custom Localization

Custom Localization is a Localization Mod for Stardew Valley Android only.

Description

  • For user

Extract mod into Mods folder, put localization xnb resources into Content folder. The mod will load Content folder and add or replace xnb files into game's own content dynamically without needs of modify game's apk.

  • For developer

Typically mod's config file looks like this:

{
  "OriginLocaleCount": 11,
  "CurrentLanguageCode": 3,
  "locales": [
    {
      "Name": "Chinese",
      "DisplayName": "简体中文",
      "CodeEnum": 3,
      "LocaleCode": "zh-CN",
      "IsLatin": false,
      "FontFileName": "Fonts\\Chinese",
      "FontPixelZoom": 1.5
    }
  ]
}
Config Name Description
OriginLocaleCount Game default support language count, do not modify
CurrentLanguageCode User current selected language code enum value
locales Mod manually added locales list
Name Locale name, make sure it's unique
DisplayName Locale display name
CodeEnum Locale enum value, game has taken 0 to 11
LocaleCode Locale country code, also it is xnb file's suffix name
IsLatin If the locale is latin based locale, which didn't have to provide font
FontFileName Font's asset name
FontPixelZoom Font's zoom scale