Show / Hide Table of Contents

Namespace GlitchedPolygons.Localization

Classes

LocalizationBucket

A localization bucket is a component that contains a dictionary of localized key-value string pairs for a list of user-defined locales.

It connects to an instance of the Glitched Locale Server to allow users to change translations at runtime without requiring to submit a new package update/release everytime a typo is corrected...

LocalizedText More information available on: https://glitchedpolygons.com/store/software/glitched-locale-server

LocalizationBucket.Error

Error structure to return in response bodies.

LocalizationBucket.ResponseBodyDto<T>

If Items is not null or empty, it means that the request was successful.

Failed requests should return the correct HTTP status code, but (if applicable) still return one or more errors inside Errors.

LocalizationBucket.TranslationEndpointResponseDto

Response DTO for the translation endpoint's response body item type.

LocalizationBucket.TranslationRequestDto

DTO for requesting translations.

LocalizedText

This is a component that references a LocalizationBucket and hooks into its dictionary to translate either a UI Text or a TMP_Text component's string value.

Back to top Generated by DocFX