API UpdateTranslator: Porovnání verzí

Z Podpora.nextis.cz
Skočit na navigaci Skočit na vyhledávání
Založena nová stránka s textem „==== Description ==== Method allows You to update translator in system. ==== Exact name ==== <code>API_UpdateTranslator</code> ==== Type ==== Standard ex…“
 
Bez shrnutí editace
 
(Nejsou zobrazeny 2 mezilehlé verze od stejného uživatele.)
Řádek 1: Řádek 1:
==== Description ====
==== Description ====
Method allows You to update translator in system.
Method allows You to update translated in system.


==== Exact name ====
==== Exact name ====
Řádek 20: Řádek 20:
|
|
|Internal system id
|Internal system id
|
|API_GetProductGroups.Name
 
API_GetProductGroups.Name2
 
API_GetProductGroups.Description
 
API_GetProductGroups.EshopDescription
|-
|-
|@TranslatedText
|@TranslatedText
Řádek 44: Řádek 50:
<syntaxhighlight lang="sql">
<syntaxhighlight lang="sql">
  DECLARE @return_value int
  DECLARE @return_value int
DECLARE @Text nvarchar(max)
DECLARE @TranslatedText nvarchar(max)
DECLARE @Language nvarchar(3)
    
    
  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, 09: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.