This repository contains the Python sdk for accessing the Smartling Translation API.
The Smartling Translation API allows developers to seamlessly internationalize their website by automating the translation and integration of their site content. Developers can upload resource files and download the translated file(s) in a locale of their choosing. There are options to allow for professional translation, community translation and machine translation.
For a full description of the Smartling Translation API, please read the docs at: https://docs.smartling.com/display/docs/Smartling+Translation+API
Clone the repo,
git clone email@example.com:Smartling/api-sdk-python.git.
Use examples in ./example directory to see how to work with SDK.
There are 4 examples:
SimpleExample.py - basic file API SDK operartions
IntermediateExample.py - a bit more advanced file API example: introduces rename, import and SmartlingDirectives
AdvancedExample.py - calls every file API call and tests response for a proper value
ProjectsExample.py - calls projects API and tests response for a proper value
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 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.