TranslationControllerApi class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
downloadFullTranslation({required String localeCode, CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<Uint8List>>
-
Download end-user all-to-one translation (downloadFullTranslation)
Fetch the end-user translation for the specified locale. The result is a json file with merged user custom translation, system language translation and default locale translation.
-
getAvailableJavaLocales({CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<JsonObject>>
-
Get list of available java locales (getAvailableJavaLocales)
The result is map where key is locale code and value is locale language and country
-
getAvailableLocales({CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<JsonObject>>
-
Get list of available locales (getAvailableLocales)
Fetch the list of customized locales from all levels Security check is performed to verify that the user has 'READ' permission for the white labeling resource.
-
getFullTranslation({required String localeCode, String? ifNoneMatch, String? acceptEncoding, CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<JsonObject>>
-
Get end-user all-to-one translation (getFullTranslation)
Fetch the end-user translation for specified locale. The result is the merge of user custom translation, system language translation and default locale translation.
-
getLoginPageTranslation({required String localeCode, String? ifNoneMatch, String? acceptEncoding, CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<JsonObject>>
-
Get system translation for login page
Fetch the end-user translation for specified locale.
-
getTranslationForBasicEdit({required String localeCode, CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<JsonObject>>
-
Get end-user multi-translation for basic edit (getTranslationForBasicEdit)
Fetch the translation info map where value is info object containing key translation, origin translation, translation of parent level, translation status.
-
getTranslationInfos({CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<BuiltList<TranslationInfo>>>
-
Get Translation info (getTranslationInfos)
Fetch the list of customized locales and corresponding details such as language display name, country display name and translation progress percentage. Response example: ```json
{ \"localeCode\": \"uk_UA\", \"language\": \"Ukrainian (українська)\", \"country\": \"Україна\", \"progress\": 32 }, { \"localeCode\": \"es_ES\", \"language\": \"Spanish (español)\", \"country\": \"España\", \"progress\": 79 } ``` Security check is performed to verify that the user has 'READ' permission for the white labeling resource.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited