Skip to content

Latest commit

 

History

200 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CenturyLocalization

Open source implementation of localization for Century

Nuget CodeQL Unit tests Nuget Package

Getting started:

  1. Install Visual Studio Community
  2. Install ResX Resource Manager add-on
  3. Contribute with translation
  4. Make a pull request

Languages:

  • English
  • Arabic
  • Danish
  • Dutch
  • German
  • Indonesian
  • Russian
  • Spanish
  • Turkish
  • Portuguese (Brazil)
  • Portuguese (Portugal)
  • Slovak
  • French

Adding a language:

  • Create Actions file
  • Create CountryNames file
  • Create EndScreen file
  • Create Events file
  • Create PopulationAttributes file
  • Create WarNames file
  • Create Texts file
  • Create BattleNames file
  • Create Diplomacy file
  • Create AllianceNames file
  • Add language to Localization._supportedCultureNames
  • Run unit tests

Adding a localization category

  • Create the category folder with a base .resx (and its Designer.cs) and one .resx per language
  • Add the base .resx as an EmbeddedResource (ResXFileCodeGenerator) in CenturyLocalization.csproj
  • Add a ResourceManager field to Localization and include it in Localization.GetText
  • Add to DataConsistencyTests
  • Run unit tests

About

Open source implementation of localization for Century

Resources

Stars

2 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages