Find Jobs
Hire Freelancers

Autoload multiple language versions of a wikipedia page

$30-250 USD

Đã hoàn thành
Đã đăng vào hơn 10 năm trước

$30-250 USD

Thanh toán khi bàn giao
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.
Mã dự án: 5312538

Về dự án

4 đề xuất
Dự án từ xa
Hoạt động 10 năm trước

Bạn muốn kiếm tiền?

Lợi ích khi chào giá trên Freelancer

Thiết lập ngân sách và thời gian
Nhận thanh toán cho công việc
Phác thảo đề xuất của bạn
Miễn phí đăng ký và cháo giá cho công việc
Đã trao cho:
Avatar người dùng
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 trong 2 ngày
5,0 (1 nhận xét)
2,0
2,0
4 freelancer chào giá trung bình $165 USD cho công việc này
Avatar người dùng
A proposal has not yet been provided
$206 USD trong 3 ngày
4,1 (7 nhận xét)
2,8
2,8
Avatar người dùng
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 trong 6 ngày
0,0 (1 nhận xét)
0,0
0,0
Avatar người dùng
La propuesta todavía no ha sido proveída
$155 USD trong 3 ngày
0,0 (0 nhận xét)
0,0
0,0

Về khách hàng

Cờ của CANADA
Montreal, Canada
5,0
2
Phương thức thanh toán đã xác thực
Thành viên từ thg 1 12, 2014

Xác thực khách hàng

Các công việc khác từ khách hàng này

UI Skeleton
$30-250 CAD
Cảm ơn bạn! Chúng tôi đã gửi email chứa đường link để bạn lấy tín dụng miễn phí.
Đã xảy ra lỗi trong khi gửi email của bạn. Hãy thử lại.
Người Dùng Đã Đăng Ký Tổng Số Việc Đã Đăng
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Đang tải xem trước
Đã cấp quyền truy cập vị trí.
Phiên đăng nhập của bạn đã hết hạn và bạn đã bị đăng xuất. Hãy đăng nhập lại.