Find Jobs
Hire Freelancers

Autoload multiple language versions of a wikipedia page

$30-250 USD

Concluído
Publicado há mais de 10 anos

$30-250 USD

Pago na entrega
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.
ID do Projeto: 5312538

Sobre o projeto

4 propostas
Projeto remoto
Ativo há 10 anos

Quer ganhar algum dinheiro?

Benefícios de ofertar no Freelancer

Defina seu orçamento e seu prazo
Seja pago pelo seu trabalho
Descreva sua proposta
É grátis para se inscrever e fazer ofertas em trabalhos
Concedido a:
Avatar do Usuário
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 em 2 dias
5,0 (1 avaliação)
2,0
2,0
4 freelancers estão ofertando em média $165 USD for esse trabalho
Avatar do Usuário
A proposal has not yet been provided
$206 USD em 3 dias
4,1 (7 avaliações)
2,8
2,8
Avatar do Usuário
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 em 6 dias
0,0 (1 avaliação)
0,0
0,0
Avatar do Usuário
La propuesta todavía no ha sido proveída
$155 USD em 3 dias
0,0 (0 avaliações)
0,0
0,0

Sobre o cliente

Bandeira do(a) CANADA
Montreal, Canada
5,0
2
Método de pagamento verificado
Membro desde jan. 12, 2014

Verificação do Cliente

Outros trabalhos deste cliente

UI Skeleton
$30-250 CAD
Obrigado! Te enviamos um link por e-mail para que você possa reivindicar seu crédito gratuito.
Algo deu errado ao enviar seu e-mail. Por favor, tente novamente.
Usuários Registrados Total de Trabalhos Publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Carregando pré-visualização
Permissão concedida para Geolocalização.
Sua sessão expirou e você foi desconectado. Por favor, faça login novamente.