Namespace Eco.Shared.Localization
Classes
AssemblyLocalizedData
AutoContextCommentAttribute
Add context comment to Classes, Fields, Properties and Enums auto-localized via EcoAttribute or LocalizedAttribute e.g.: [Localized] class Player { [AutoContextComment("Player Configuration")] public Setting Config { get; set; } }
will extract "Config" loc string with context 'Player Configuration'
ContextCommentAttribute
For Classes, Fields, Properties, Methods and Enums to localize other attribute parameters e.g.: [Eco, LocDescription("Some description"), ContextComment(typeof(LocDescriptionAttribute), "Some description context")] public class CivicAction_AddElement { [AutoContextComment("Player Configuration")] public Setting Config { get; set; } }
will extract "Some description" loc string with context 'Some description context'
DebugCategoryAttribute
DescriptionExtensinons
DescriptionLoc
EcopediaFile
EcopediaLocTools
EcopediaSection
ExtendedDescriptionLocStr
Add more details that will only be shown in larger info panels for a type.
LocalizationExtractionUtils
Utils for localization string extractions
LocalizedAttribute
LocalizedEnumConverter
Used to enable localized enum values in PropertyGrids. Can also be manually added to any enum to override the default behaviour when casting to a string.
Localizer
LocCategoryAttribute
LocCategoryDescription
LocDescriptionAttribute
LocDescriptionCloneAttribute
Clones LocDescriptionAttribute of the provided property.
LocDisplayNameAttribute
LocExtensions
LocString
LocStringBuilder
LocStringBuilderUtils
utilities for LocStringBuilder
LocStringExtensions
MissingString
class is used to register missing localization strings ///
NotLocalizedDisplayNameAttribute
The standard DisplayNameAttribute doesn't support Enums + other types, so this is a useful extension.
SharedLocs
Shared localization strings.
ShortLocs
StringLocalizedData
Class used by LocalizationAssemblyParser to hold data intended for localization.