Classes
The following classes are available globally.
-
This is the main class of Swifternalization library. It exposes methods that can be used to get localized strings.
The framework uses json files and work with them. There are two types of files. First is
expressions.json
that contains shared expressions used among other localizable json files. The other files are files with translation for specific languages. Each file is just for one language. E.g. you can havebase.json
,en.json
,pl.json
which are accordingly used for Base, English and Polish localizations.Before calling any method that return localized string call
See moreconfigure:
.Declaration
Swift
final public class Swifternalization