Localisation
Have your own localised text for the strings used within the plugin
Last updated
Have your own localised text for the strings used within the plugin
Last updated
There is a provision to configure the plugin to provide your own text based on the language selected by your user There are two easy steps to have the plugin localised.
You need to implement ILocalisationServiceProvider which has GetLocalisedString method. It takes two parameters key and default value.
key : Key contains the value used to identify the string (Refer here for keys used in the plugin)
default : This is usually the string in english language we use internally if no localisation exists.
You need to set the above implemented localisation provider to ExternalServiceProvider.LocalisationServiceProvider once your first scene is loaded
Key Used | Attribute Text Description |
---|---|
RateMyAppLocalisationKey.kTitle
Rate My App Title
RateMyAppLocalisationKey.kDescription
Rate My App Description
RateMyAppLocalisationKey.kOkButton
Rate My App Ok Button
RateMyAppLocalisationKey.kCancelButton
Rate My App Cancel Button
RateMyAppLocalisationKey.kRemindLaterButton
Rate My App Remind Later Button