Comments (6)
What I am trying to see is whether the error happened on bot or translated.net API
in other words, can you give fix on error translating?
from mash-cogs.
Its the API output, usually a 403; no content or it seems to dislike the taste(or lack of a good taste) of the provided RFC 3066.
IN | India:
ar-IN (Arabic) as (Assamese)
bh (Bihari)
bn-IN (Bengali)
en-IN (English)
gu (Gujarati)
hi (Hindi)
kn (Kannada)
kok (Konkani)
ks (Kashmiri)
ml (Malayalam)
mr (Marathi)
ne (Nepali)
or (Oriya)
pa (Panjabi)
pi (Pali)
sa (Sanskrit)
sd-IN (Sindhi)
ta-IN (Tamil)
te (Telugu)
ur-IN (Urdu)
from mash-cogs.
From https://github.com/Canule/Mash-Cogs/blob/master/translated/translated.py#L64
IN was Indonesian, so maybe that is wrong?
from mash-cogs.
I have no validation of the in cog preset RFC 3066 list(copy pasted from some wikipedia ), I assumed they work(most do fine), your example clearly doesn't as it is now.
I've tried ID as given from this list http://www.i18nguy.com/unicode/language-identifiers.html , same result.
ID | Indonesia:
id (Indonesian)
jv (Javanese)
su (Sundanese)
from mash-cogs.
I see
do the site - translated.net - provide their own language codes?
from mash-cogs.
Just found some query for it http://www.translated.net/hts/HTS_Tech_Spec.pdf
http://www.translated.net/hts/?f=ll&cid=htsdemo&p=htsdemo5
Indonesian;id-ID;id;ind
*lower case issue to get result
id-EN pagi ยป gogle translit (not supported by cog as is)
Strange enough
English;en-GB;en;eng
But provided by cog is uppercase, and np
from mash-cogs.
Related Issues (9)
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 mash-cogs.