1b.app
Link copied -

Change language when importing DC Link products

Hello. By default, goods and categories are imported in Ukrainian language, is it possible to change the language to Russian?
Original question is available on version: ru

Answers:

you need to request documentation from dclink in the standard output of another language
most likely you need to pass some parameter to the api - you need to ask them
07.05.2022, 04:48
Original comment available on version: ru


Ustimenko Igor
OneBox production
OneBox CTO wrote:
you need to request documentation from dclink in the standard output of another language
most likely you need to pass some parameter to the api - you need to ask them

<?php
$url="https://api.dclink.com.ua/api/[The method you need]"; //example: https://api.dclink.com.ua/api/GetPrice
$ch = curl_init();
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, array (
'login' => 'YOUR_LOGIN',
'password' => 'YOUR_PASSWORD',
'additional parameter' => 'value_additional parameter'
)); //request parameters
curl_setopt($ch, CURLOPT_URL, $url);
$output = curl_exec($ch); //answer
curl_close($ch);
?>
Extra options:
'lang' - The parameter allows you to choose in which language the response will be sent. Default value is 'UA'
'showprice' => '1' - Show available price columns
'altname' => '1' - Full product name
07.05.2022, 11:39
Original comment available on version: ru

understood
then you need to add the setting to the action so that it unloads in the specified language in action
1h
13.05.2022, 15:31
Original comment available on version: ru


Ustimenko Igor
OneBox production
OneBox CTO wrote:
understood
then you need to add the setting to the action so that it unloads in the specified language in action
1h

Perhaps a general finish is planned, for all boxes on the wasps? And then the import from the brain has such a setting, but the dslink does not have and somehow meager settings, compared to the brain
13.05.2022, 15:35
Original comment available on version: ru


Andrew wrote:

Ustimenko Igor
OneBox production
OneBox CTO wrote:
understood
then you need to add the setting to the action so that it unloads in the specified language in action
1h

Perhaps a general finish is planned, for all boxes on the wasps? And then the import from the brain has such a setting, but the dslink does not have and somehow meager settings, compared to the brain

no one has asked you to finish your drink except for you
of course it is more universal to fill in the fields in general multilingual
but I appreciated the minimum option for you, at least the choice of language
13.05.2022, 15:38
Original comment available on version: ru

Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter. Log in and comment