Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

404 api error in some texts #180

Open
mehr32 opened this issue Nov 16, 2023 · 2 comments
Open

404 api error in some texts #180

mehr32 opened this issue Nov 16, 2023 · 2 comments

Comments

@mehr32
Copy link

mehr32 commented Nov 16, 2023

Hello
In some specific texts, even though there is no translation problem in the Lingua user interface, I get a 404 error in the api on all servers, I don't know the reason! Even by shortening the text, I still have the error, for example:

https://lingva.lunar.icu/api/v1/en/fa/of%20the%20Iranians%22),[15][16]%20recognized%20as%20a%20derivative%20of%20Proto-Indo-European%20language%20*ar-yo-,%20meaning%20%22one%20who%20assembles%20(skilfully)%22.[17]%20According%20to%20the%20Iranian%20mythology,%20the%20country's%20name%20comes%20from%20the%20name%20of%20Iraj,%20a%20legendary%20prince%20and%20king.[18]Historically,%20Iran%20has%20been%20referred%20to%20as%20Persia%20by%20the%20West,[19][20]%20due%20mainly%20to%20the%20writings%20of%20Greek%20historians%20who%20referred%20to%20all%20of%20Iran%20as%20Pers%C3%ADs%20(Ancient%20Greek:%20%CE%A0%CE%B5%CF%81%CF%83%CE%AF%CF%82;%20from%20Old%20Persian%20%20P%C3%A2rsa),[21]%20meaning%20%22land%20of%20the%20Persians%22,%20while%20Persis%20was%20one%20of%20the%20provinces%20of%20ancient%20Iran.[22]In%201935,%20Reza%20Pahlavi%20requested%20the%20international%20community%20to%20refer%20to%20the%20country%20by%20its%20native%20name,%20Iran.[23][24]%20Opposition%20to%20the%20name%20change%20led%20to%20the%20reversal%20of%20the%20decision%20in%201959,%20and%20Professor%20Ehsan%20Yarshater,%20editor%20of%20Encyclop%C3%A6dia%20Iranica,%20propagated%20a%20move%20to%20use%20Persia%20and%20Iran%20interchangeably.[25]%20Today,%20both%20Iran%20and%20Persia%20are%20used%20in%20cultural%20contexts,%20while%20Iran%20remains%20mandatory%20in%20official%20state%20contexts.[26]Historical%20and%20cultural%20usage%20of%20the%20word%20Iran%20is%20not%20restricted%20to%20the%20modern%20state%20proper.[27][28][29]%20%22Greater%20Iran%22%20(Ir%C4%81nzam%C4%ABn%20or%20Ir%C4%81n%20e%20Bozorg)[30]%20refers%20to%20territories%20of%20the%20Iranian%20cultural%20and%20linguistic%20zones.In%20addition%20to%20modern%20Iran,%20it%20includes%20portions%20of%20the%20Caucasus,%20Anatolia,%20Mesopotamia,%20Afghanistan,%20and%20Central%20Asia.[31][page%C2%A0needed]The%20Persian%20pronunciation%20of%20Iran%20is%20[%CA%94i%CB%90%CB%88%C9%BE%C9%92%CB%90n]Common%20Commonwealth%20English%20pronunciations%20of%20Iran%20are%20listed%20in%20the%20Oxford%20English%20Dictionary%20as%20/%C9%AA%CB%88r%C9%91%CB%90n/%20and%20/%C9%AA%CB%88r%C3%A6n/,[32]%20while%20American%20English%20dictionaries%20such%20as%20Merriam-Webster's%20provide%20pronunciations%20which%20map%20to%20/%C9%AA%CB%88r%C9%91%CB%90n,%20-%CB%88r%C3%A6n,%20a%C9%AA%CB%88r%C3%A6n/,[33]%20or%20likewise%20in%20Random%20House%20Webster's%20Unabridged%20Dictionary%20as%20/%C9%AA%CB%88r%C3%A6n,%20%C9%AA%CB%88r%C9%91%CB%90n,%20a%C9%AA%CB%88r%C3%A6n/The%20Cambridge%20Dictionary%20lists%20/%C9%AA%CB%88r%C9%91%CB%90n/%20as%20the%20British%20pronunciation%20and%20/%C9%AA%CB%88r%C3%A6n/%20as%20the%20American%20pronunciationThe%20pronunciation%20guide%20from%20Voice%20of%20America%20also%20provides%20/%C9%AA%CB%88r%C9%91%CB%90n/.[34]%20The%20American%20English%20pronunciation%20/a%C9%AA%CB%88r%C3%A6n/%20may%20be%20heard%20in%20U.Smedia.The%20earliest%20attested%20archaeological%20artifacts%20in%20Iran%20confirm%20a%20human%20presence%20in%20Iran%20since%20the%20Lower%20Paleolithic.[36]%20Iran's%20Neanderthal%20artifacts%20from%20the%20Middle%20Paleolithic%20have%20been%20found%20mainly%20in%20the%20Zagros%20region,%20at%20sites%20such%20as%20Warwasi%20and%20Yafteh.[37][38][page%C2%A0needed]%20From%20the%20tenth%20to%20the%20seventh%20millennium%20BC,%20early%20agricultural%20communities%20began%20to%20flourish%20in%20and%20around%20the%20Zagros%20region%20in%20western%20Iran,%20including%20Chogha%20Golan,[39][40]%20Chogha%20Bonut,[41][42]%20and%20Chogha%20Mish.[43][44][page%C2%A0needed][45]The%20occupation%20of%20grouped%20hamlets%20in%20the%20area%20of%20Susa,%20as%20determined%20by%20radiocarbon%20dating,%20ranges%20from%204395%20to%203955%20to%203680%E2%80%933490%20BC.[46]%20There%20are%20dozens%20of%20prehistoric%20sites%20across%20the%20Iranian%20Plateau,%20pointing%20to%20the%20existence%20of%20ancient%20cultures%20and%20urban%20settlements%20in%20the%20fourth%20millennium%20BC.[45][47][48]%20During%20the%20Bronze%20Age,%20the%20territory%20of%20present-day%20Iran%20was%20home%20to%20several%20civilizations,[49][50]%20including%20Elam,%20Jiroft,%20and%20ZayanderudElam,%20the%20most%20prominent%20of%20these%20civilizations,%20developed%20in%20the%20southwest%20alongside%20those%20in%20Mesopotamia,%20and%20continued%20its%20existence%20until%20the%20emergence%20of%20the%20Iranian%20empiresThe%20advent%20of%20writing%20in%20Elam%20was%20paralleled%20to%20Sumer,%20and%20the%20Elamite%20cuneiform%20was%20developed%20since%20the%20third%20millennium%20BC.[51]From%20the%2034th%20to%20the%2020th%20century%20BC,%20northwestern%20Iran%20was%20part%20of%20the%20Kura-Araxes%20culture,%20which%20stretched%20into%20the%20neighboring%20Caucasus%20and%20AnatoliaSince%20the%20earliest%20second%20millennium%20BC,%20Assyrians%20settled%20in%20swaths%20of%20western%20Iran%20and%20incorporated%20the%20region%20into%20their%20territories.By%20the%20second%20millennium%20BC,%20the%20ancient%20Iranian%20peoples%20arrived%20in%20what%20is%20now%20Iran%20from%20the%20Eurasian%20Steppe,[52]%20rivaling%20the%20native%20settlers%20of%20the%20region.[53][54]%20As%20the%20Iranians%20dispersed%20into%20the%20wider%20area%20of%20Greater%20Iran%20and%20beyond,%20the%20boundaries%20of%20modern-day%20Iran%20were%20dominated%20by%20Median,%20Persian,%20and%20Parthian%20tribes.From%20the%20late%20tenth%20to%20the%20late%20seventh%20century%20BC,%20the%20Iranian%20peoples,%20together%20with%20the%20%22pre-Iranian%22%20kingdoms,%20fell%20under%20the%20domination%20of%20the%20Assyrian%20Empire,%20based%20in%20northern%20Mesopotamia.[55][page%C2%A0needed]%20Under%20king%20Cyaxares,%20the%20Medes%20and%20Persians%20entered%20into%20an%20alliance%20with%20Babylonian%20ruler%20Nabopolassar,%20as%20well%20as%20the%20fellow%20Iranian%20Scythians%20and%20Cimmerians,%20and%20together%20they%20attacked%20the%20Assyrian%20EmpireThe%20civil%20war%20ravaged%20the%20Assyrian%20Empire%20between%20616%20and%20605%C2%A0BC,%20thus%20freeing%20their%20respective%20peoples%20from%20three%20centuries%20of%20Assyrian%20rule.[55]%20The%20unification%20of%20the%20Median%20tribes%20under%20king%20Deioces%20in%20728%C2%A0BC%20led%20to%20the%20foundation%20of%20the%20Median%20Empire%20and%20their%20capital%20Ecbatana,%20which%20by%20612%C2%A0BC,%20controlled%20almost%20the%20entire%20territory%20of%20present-day%20Iran%20and%20eastern%20Anatolia[56]%20This%20marked%20the%20end%20of%20the%20Kingdom%20of%20Urartu%20as%20well,%20which%20was%20subsequently%20conquered%20and%20dissolve[57][58]In%20550%C2%A0BC,%20Cyrus%20the%20Great,%20the%20son%20of%20Mandane%20and%20Cambyses%20I,%20took%20over%20the%20Median%20Empire,%20and%20founded%20the%20Achaemenid%20Empire%20by%20unifying%20other%20city-states

@mehr32
Copy link
Author

mehr32 commented Nov 17, 2023

nobody?

@NiKola-UE
Copy link

As far as I know, this error appears if more than 2000 characters are entered, although this limit is not specified. Maybe it's not wise to write about it here, but the site is also often unavailable. For a while it was not possible to access it at all, while in these few days an error 502 Cloudflare pops up, although it is hosted in some other places.

Also, it would be nice to add an option to translate documents, but a separate issue can be opened for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants