Find Jobs
Hire Freelancers

Autoload multiple language versions of a wikipedia page

$30-250 USD

Færdiggjort
Slået op over 10 år siden

$30-250 USD

Betales ved levering
Looking for the following functionality; design & additional ui features will be added later as a separate project: I want a single page to receive input from the user. Via the url, we can specify the languages wanted. e.g. it could be: [login to view URL] This would lead to a page with 5 text input boxes, one for each of the languages specified in the url. en : ___________ fr : ____________ zh: ____________ kr: _____________ zh-yue: ___________ The user types something into any of the text boxes and submits with Enter or by pressing a button. The page then loads the wikipedia article for the language input via the url constructed as follows: [login to view URL] So for example, if the user input the word "Fleur" on the "fr" (French) line, then the page would fetch [login to view URL] Next, it would parse the source of that page to look for the links for the other languages required, in this case: en (English), zh (Chinese), kr (Korean), and zh-yue (Cantonese.) These links look like this : <li class="interlanguage-link interwiki-en"><a href="//[login to view URL]" title="Flower — anglais" lang="en" hreflang="en">English</a></li> By looking for "interlanguage-link interwiki-en", we find the "en" (English) version. By looking for "interlanguage-link interwiki-kr", we would find the kr (Korean) version etc. These links give us the translated name of the article in each of the other languages, plus a link to the wikipedia article in each. Not every article has an equivalent in every other language. Sometimes none will appear, or all, but typically we may have e.g. 3 out of 5, or 6 out of 8. The idea is to display, at the top of the page, the translated names as follows : en: Flower zh:花 ko:꽃 zh-yue:花 Below, would appear the full version of the page in the main language (in our example, French). The translated names at the top of the page would link to the full version of the page in the that language, keeping all the other languages' translated names/links at the top of the page. e.g. if I click on the ko:꽃 link it should display a page that starts with en: Flower fr:Fleur zh:花 zh-yue:花 (note that ko has been replaced with fr) and then the full text of [login to view URL]%EA%BD%83 which is the Korean version of the page. Bonus Feature #1) The page should pre-load the content of each of the other full pages, to be able to switch back and forth quickly if the user decides to click on the links at the top Bonus Feature #2) Mobile-friendly version should work the same way but with wikipedia's mobile version. I believe the only difference is the insertion of a "m." subdomain in the url between the language and the [login to view URL], though there may be other twists.
Projekt-ID: 5312538

Om projektet

4 forslag
Projekt på afstand
Aktiv 10 år siden

Leder du efter muligheder for at tjene penge?

Fordele ved budafgivning på Freelancer

Fastsæt dit budget og din tidsramme
Bliv betalt for dit arbejde
Oprids dit forslag
Det er gratis at skrive sig op og byde på jobs
Tildel til:
Brug Avatar.
Greetings, I have tried to understand what you want and have come up with an example of it: [login to view URL] If it's something like this you want, I'm your guy. Everything can be changed if you want it. Best regards, Magnus
$100 USD på 2 dage
5,0 (1 bedømmelse)
2,0
2,0
4 freelancere byder i gennemsnit $165 USD på dette job
Brug Avatar.
A proposal has not yet been provided
$206 USD på 3 dage
4,1 (7 anmeldelser)
2,8
2,8
Brug Avatar.
Hi. I get the outline of the project but, I do need to understand something. other than that, i can get this done. Looking forward to work for you a log term relationship... thank you.
$200 USD på 6 dage
0,0 (1 bedømmelse)
0,0
0,0
Brug Avatar.
La propuesta todavía no ha sido proveída
$155 USD på 3 dage
0,0 (0 anmeldelser)
0,0
0,0

Om klienten

Flag for CANADA
Montreal, Canada
5,0
2
Betalingsmetode verificeret
Medlem siden jan. 12, 2014

Klientverificering

Andre jobs fra denne klient

UI Skeleton
$30-250 CAD
Tak! Vi har sendt dig en e-mail med et link, så du kan modtage din kredit.
Noget gik galt, da vi forsøgte at sende din mail. Prøv venligst igen.
Registrerede brugere Oprettede jobs i alt
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Indlæser forhåndsvisning
Geolokalisering er tilladt.
Din session er udløbet, og du er blevet logget ud. Log venligst ind igen.