문제

I have created a Onesky account and am trying to translate using their API.

Here is the sample request: https://api.oneskyapp.com/2/string/output?api-key=your-key&dev-hash=TheHash&platform-id=1&timestamp=1355555555

I am getting this output

{
"translation": {},
"md5": "99914b932bd37a50b983c5e7c90ae93b"
}

I am referring to http://developer.oneskyapp.com/api/v/2

How can I pass the translation string with the API?

도움이 되었습니까?

해결책

You are receiving empty translation object because you have not translated anything.

  1. Add some string in your test project
  2. Translate it
  3. Run the same api again (with updated dev-hash and timestamp)
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top