Comments (3)
Also the body of the response to request above does not match:
{
"project_id": "3002780358964f9bab5a92.87762498",
"translation": {
"translation_id": 344412,
"key_id": 553662,
"language_iso": "en_US",
"modified_at": "2018-12-31 12:00:00 (Etc\/UTC)",
"modified_at_timestamp": 1546257600,
"modified_by": 420,
"modified_by_email": "[email protected]",
"translation": "Quick brown fox jumps over the lazy dog.",
"is_unverified": false,
"is_reviewed": true,
"reviewed_by": 1357,
"words": 8,
"custom_translation_statuses": [],
"task_id": null,
"segment_number": 1
}
}
the client expects following struct:
type Translation struct {
TranslationID int64 `json:"translation_id"`
Translation string `json:"translation"` // could be string or json in case it includes plural forms and is_plural is true.
KeyID int64 `json:"key_id"`
LanguageISO string `json:"language_iso"`
ModifiedAt string `json:"modified_at"`
ModifiedAtTs int64 `json:"modified_at_timestamp"`
ModifiedBy int64 `json:"modified_by"`
ModifiedByEmail string `json:"modified_by_email"`
IsFuzzy bool `json:"is_fuzzy"`
IsReviewed bool `json:"is_reviewed"`
ReviewedBy int64 `json:"reviewed_by"`
Words int64 `json:"words"`
TaskID int64 `json:"task_id"`
CustomTranslationStatuses []TranslationStatus `json:"custom_translation_statuses"`
}
there is no is_unverified
field
from go-lokalise-api.
@zikwall Hi, sorry for a long delay, the issue will be fixed on next release on the next week.
from go-lokalise-api.
Fixed in v4.0.0
from go-lokalise-api.
Related Issues (17)
- Implement teams endpoints
- Implement snapshot endpoints
- Implement task endpoints HOT 7
- Implement team user endpoints HOT 3
- Implement translation endpoints
- Testing setup HOT 4
- Implement projects endpoints HOT 4
- Implement files endpoints
- Basic request setup HOT 8
- Getting unicode instead of string literal HOT 1
- Implement comments endpoints
- go.mod should be updated to v4
- Implement contributor endpoints
- Implement key endpoints
- Implement language endpoints
- Implement screenshot endpoints
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-lokalise-api.