API CreateTranslator: Porovnání verzí
Z Podpora.nextis.cz
(Založena nová stránka s textem „==== Description ==== Method allows You to create new translator in system. ==== Exact name ==== <code>API_CreateTranslator</code> ==== Type ==== Standar…“) |
|||
(Nejsou zobrazeny 3 mezilehlé verze od stejného uživatele.) | |||
Řádka 1: | Řádka 1: | ||
==== Description ==== | ==== Description ==== | ||
− | Method allows You to create new | + | Method allows You to create new translated in system. |
==== Exact name ==== | ==== Exact name ==== | ||
Řádka 19: | Řádka 19: | ||
|nvarchar(max) | |nvarchar(max) | ||
| | | | ||
− | | | + | |Internal system id |
− | | | + | |API_GetProductGroups.Name |
+ | |||
+ | API_GetProductGroups.Name2 | ||
+ | |||
+ | API_GetProductGroups.Description | ||
+ | |||
+ | API_GetProductGroups.EshopDescription | ||
|- | |- | ||
|@TranslatedText | |@TranslatedText | ||
Řádka 32: | Řádka 38: | ||
| | | | ||
|Language | |Language | ||
− | | | + | |cs,pl,en,de,sk,hu,nl,ru,et,lv,lt,ar,fr,it,pt,ro,es,tr,bg,sl,sr |
|} | |} | ||
Řádka 44: | Řádka 50: | ||
<syntaxhighlight lang="sql"> | <syntaxhighlight lang="sql"> | ||
DECLARE @return_value int | DECLARE @return_value int | ||
− | EXEC @return_value = [API_CreateTranslator] @Text= 'Brake pads' ,@TranslatedText= 'Brzdové destičky' ,@Language= 'cs' | + | EXEC @return_value = [API_CreateTranslator] @Text= N'Brake pads' ,@TranslatedText= N'Brzdové destičky' ,@Language= N'cs' |
</syntaxhighlight> | </syntaxhighlight> | ||
==== Notices ==== | ==== Notices ==== | ||
None. | None. |
Aktuální verze z 21. 11. 2018, 10:22
Description
Method allows You to create new translated in system.
Exact name
API_CreateTranslator
Type
Standard executable stored procedure.
Specification
Parameter | Data type | Value range | Description | Relation |
---|---|---|---|---|
@Text | nvarchar(max) | Internal system id | API_GetProductGroups.Name
API_GetProductGroups.Name2 API_GetProductGroups.Description API_GetProductGroups.EshopDescription | |
@TranslatedText | nvarchar(max) | Translated text | ||
@Language | nvarchar(3) | Language | cs,pl,en,de,sk,hu,nl,ru,et,lv,lt,ar,fr,it,pt,ro,es,tr,bg,sl,sr |
Return
0 : OK 100 : Item could not be created 200 : Language does not exist 350 : Translated exist
Example
DECLARE @return_value int
EXEC @return_value = [API_CreateTranslator] @Text= N'Brake pads' ,@TranslatedText= N'Brzdové destičky' ,@Language= N'cs'
Notices
None.