API UpdateTranslator: Porovnání verzí
Z Podpora.nextis.cz
(→Specification) |
|||
(Není zobrazena jedna mezilehlá verze od stejného uživatele.) | |||
Řádka 1: | Řádka 1: | ||
==== Description ==== | ==== Description ==== | ||
− | Method allows You to update | + | Method allows You to update translated in system. |
==== Exact name ==== | ==== Exact name ==== | ||
Řádka 50: | Řádka 50: | ||
<syntaxhighlight lang="sql"> | <syntaxhighlight lang="sql"> | ||
DECLARE @return_value int | DECLARE @return_value int | ||
− | |||
− | |||
− | |||
− | |||
EXECUTE @return_value = [API_UpdateTranslator] | EXECUTE @return_value = [API_UpdateTranslator] | ||
− | @Text = N'Brake pads' | + | @Text = N'Brake pads', |
@TranslatedText = N'Brzdové destičky (upraveno)', | @TranslatedText = N'Brzdové destičky (upraveno)', | ||
@Language = N'cs' | @Language = N'cs' |
Aktuální verze z 21. 11. 2018, 10:22
Description
Method allows You to update translated in system.
Exact name
API_UpdateTranslator
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 updated 200 : Language does not exist 350 : Translated not exist
Example
DECLARE @return_value int
EXECUTE @return_value = [API_UpdateTranslator]
@Text = N'Brake pads',
@TranslatedText = N'Brzdové destičky (upraveno)',
@Language = N'cs'
Notices
None.