API CreateTranslator: Porovnání verzí

Z Podpora.nextis.cz
Přejít na: navigace, hledání
(Example)
Řádka 50: Řá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.

Verze z 21. 11. 2018, 10:01

Description

Method allows You to create new translator in system.

Exact name

API_CreateTranslator

Type

Standard executable stored procedure.

Specification

Parameter Data type Value range Description Relation
@Text nvarchar(max) Text 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.