We've launched a new support center at help.smartling.com. This site will continue to be maintained into January 2017. Please update your bookmarks.
Follow

Hybris Connector - Installation Guide

Introduction
Before Installing
Install the Connector
Configure the Connector
Set up Users 

Introduction

The Hybris Connector extension integrates Smartling translation into your Hybris workflow via Smartling API. You will control the setup for your source and localized sites through Hybris, but send your source content to Smartling for translation. Smartling translations are then downloaded back to Hybris to populate your localized sites.

Before Installing

Before using the Connector, you will need to:

  • Set up your localized sites in Hybris, including setting which page and product attributes are translated.
  • Create a CMS Connector-type Smartling project with the same locales as your Hybris sites.
  • Get your Project ID and API Key from the Smartling Dashboard at Project Settings>API.
  • Download the Hybris Connector zip file from the Connectors page in the Smartling dashboard.

Install the Connector

1) Download the Hybris Connector package from the Connectors page in the Smartling Dashboard.

2) Extract the zip file into [your hybris folder]/hybris/custom

3) Add this extension element to the localextensions.xml file in [your hybris folder]/hybris/config:

<!-- Smartling extensions -->
<extension name="smartling" />

4) The Hybris Connector extension is an additional extension for the Product and CMS Cockpits. By default it works with the cockpit accelerator extensions called yacceleratorcockpits. If you have renamed your Accelerator-based Cockpit(s) you will need to add the following entry to your project.properties ([your hybris folder]/hybris/bin/platform/project.properties)or local.properties ([your hybris folder]/hybris/config/local.properties) file for each cockpit:

[your_cockpit_extension_name].additionalWebSpringConfigs.smartlingcockpit=classpath:/smartlingcockpit/cockpit/spring/import.xml

5) Build the extension and start the Hybris server:

  1. a) From the command line, navigate to [your hybris folder]/bin/platform
  2. b) Run setantenv.sh
  3. c) Run ant clean all
  4. d) Run hybrisserver.sh 

6) From your browser go to:

http://[your.server.host]:[server.port]/platform/update

Select the following options:





Click Update.

 

Configure the Hybris Connector

1) Open the Hybris Management Console

2) Navigate to Smartling>Configuration, and click Search. The search will return only one profile, named default.

3) Edit the default profile:

  • Set your Project ID and API Key
  • Give the corresponding Smartling locale code for each Hybris locale (can be found at Project Settings>API)
  • Set your Static Data URL
  • Set a Retrieval Type
    • Published - Only published translations will be pushed to Hybris
    • Pending - Translations at any workflow step will be pushed to Hybris
    • Pseudo - Untranslated items will be pushed to Hybris as Pseudo translations - the original strings with extra characters added.
  • Set Auto-authorize content. If ticked, any content sent to Smartling will be automatically approved for translation and sent to the default workflow for each locale.




Set up Users

The ability to manage Smartling translations can be granted to select users. To give a user the ability to send content to Smartling and download translations:

1) Open the Hybris Management Console

2) From User>Employees, search for and select a user you want to manage translations.

3) Add the user to the group smartlingTranslationManager.



Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request
Powered by Zendesk