Function: locale
Result: the list of elements
Localizations
Access level: admin
- id — Id
- name — Name
- langcode — Code
- status — Status
Delete
Function: locale.delete
Delete
Access level: admin
Parameters:
- elid — one or more object's unique identifiers comma-delimited with space ", ". The unique identifiers is the id element of locale function.
Result: successful operation or error message
Resume
Function: locale.resume
Resume
Access level: admin
Parameters:
- elid — one or more object's unique identifiers comma-delimited with space ", ". The unique identifiers is the id element of locale function.
Result: successful operation or error message
Set the default localization
Function: locale.setdefault
Set the default localization
Access level: admin
Edit the selected localization
Function: locale.edit
Access level: admin
The function is simultaneously used to view object's parameters, to change an object, and create new one.
View object's parameters:
- Parameters:
- elid — unique identifier (id element of locale function)
- Result: object parameters list
Create an object:
- Parameters:
- sok — the parameter must not be empty, generally "ok".
- additional query parameters ...
- Result: successful operation or error message
Change an object:
- Parameters:
- sok — the parameter must not be empty, generally "ok".
- elid — unique identifier (id element of locale function)
- additional query parameters ...
- Result: successful operation or error message
The list object's parameters or additional query parameters (see above):
- name — Name. Enter the localization name (for example: French)
- langcode — Language code. Enter the language code that will be used for identifying localized messages
Suspend
Function: locale.suspend
Suspend
Access level: admin
Parameters:
- elid — one or more object's unique identifiers comma-delimited with space ", ". The unique identifiers is the id element of locale function.
Result: successful operation or error message