
Product
Go Support Is Now Generally Available
Socket's Go support is now generally available, bringing automatic scanning and deep code analysis to all users with Go projects.
ebay-translation-react-widget
Advanced tools
Lightweight, responsive and fully customizable component for React applications to translate eBay item title and description to another language.
Lightweight, responsive, and fully-customizable component for React applications to translate eBay item title and description to another language.
Note: The translation is powered by eBay Translation API.
eBay Translation Widget is a fully customizable React component that allows you to translate eBay item title and description to another language.
This component provides a responsive UI experience with two different modes:
It comes with a ready to use example and a NodeJS express server to bootstrap integration with eBay Translation API.
- NodeJS (for the example): v12.16 or higher
- NPM: v7.5.6 or higher/Yarn: v1.22.10 or higher
Using npm:
npm install ebay-translation-react-widget
Using yarn:
yarn add ebay-translation-react-widget
Before when running the example, make the following updates to the options.js file:
Prop | Description | Type | Default | Required |
---|---|---|---|---|
backendEndpoint | Backend server URL | String | "" | Y |
errorMessage | Overrides the error message | String | "" | N |
hideErrors | When passed this will hide the error message alerts | Boolean | false | N |
hideWarnings | When passed this will hide the warning message alerts | Boolean | false | N |
warningMessage | Overrides the warning messages | String | "" | N |
import EbayTranslationWidget from 'ebay-translation-react-widget';
<EbayTranslationWidget backendEndpoint="http://localhost:3001/translate"
/>
Using npm:
npm start
Using yarn:
yarn start
Configuration Sample: options.js.
For production, please host with HTTPS enabled.
Uses standard console logging.
Copyright 2021 eBay Inc. Developer: Lokesh Rishi
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
FAQs
Lightweight, responsive and fully customizable component for React applications to translate eBay item title and description to another language.
We found that ebay-translation-react-widget demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket's Go support is now generally available, bringing automatic scanning and deep code analysis to all users with Go projects.
Security News
vlt adds real-time security selectors powered by Socket, enabling developers to query and analyze package risks directly in their dependency graph.
Security News
CISA extended MITRE’s CVE contract by 11 months, avoiding a shutdown but leaving long-term governance and coordination issues unresolved.