This repository contains the Python SDK for accessing the Smartling Translation API.
Smartling is cloud-based software and translation services solution prioritizes process automation and intelligent collaboration. The Smartling File Translation API allows developers to seamlessly internationalize their website or application by automating the translation and integration of content. Developers can upload resource files and download the translated file(s) in a locale of their choosing. There are options allowing to use professional translation, community translation or machine translation.
For a full description of the Smartling File Translation API, please read File API section of the docs at: https://developer.smartling.com/docs/sdks-2
Clone the repo:
git clone firstname.lastname@example.org:Smartling/api-sdk-python.git.
You may start with examples in ./example directory.
Set your credentials as described in smartlingApiSdk/Credentials.py file.
There are 4 examples:
SimpleExample.py - contains basic file API SDK operartions
IntermediateExample.py - introduces a bit more advanced file API example: rename, import and SmartlingDirectives
AdvancedExample.py - calls every file API call and tests response values
ProjectsExample.py - calls projects API and tests response values
For transparency and insight into our release cycle, and for striving to maintain backward compatibility, the File Translation API SDK will be maintained under the Semantic Versioning guidelines as much as possible.
Releases will be numbered with the follow format:
And constructed with the following guidelines:
- Breaking backward compatibility bumps the major
- New additions without breaking backward compatibility bumps the minor
- Bug fixes and misc changes bump the patch
For more information on SemVer, please visit http://semver.org/.
Have a bug? Please create an issue here on GitHub!
Copyright and license
Copyright 2012-2020 Smartling, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with the License. You may obtain a copy of the License in the LICENSE file, or at:
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.