![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
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): v16 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.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.