Replace all fixed texts in HTML5/JavaScript page in translation table

Closed

Description

Hi,

I finished a HTML5 project, which consists of a HTML5 page and an almost same HTML5 page for Mobile, and a JavaScript-File which is used for both mobile and desktop-version. Inside the code there is a lot of text, which need to be translated. The Job here is not to translate the texts, but to put all texts in a table (can be JavaScript-Array) and in the source-code the corresponding code to take this translations.

What you need to do:

- Search all plain texts

- Put these texts in a JavaScript Array, like var languageTable = { en : { somekeythatfits : "the actual text" }};

- Replace these texts in the source-code with a function-call that gets the corresponding text out of the table: "the actual text" --> tr("somekeythatfits");

- The function should respect what language was currently selected (ie. EN or DE), so there should be the option to once set the language at startup of the page, and afterwards always all the strings are taken from the "table" of that language. : var actLang = "en";

Hope thats clear. The App itself is kinda small, both HTML5 pages (almos the same, as i said) are around 700 lines of HTML-code and the JS-file is about 1200 lines, but almost no TEXT. The template is actually in GERMAN, but that should not matter that much. Text is text ;)

All in all a really small thing for someone that is into HTML and JavaScript.

Skills: HTML, HTML5, Javascript

See more: html5 fixed, replace html5, javascript replace language translation, html5 translation table, javascript replace, html5 replace, html5 replace table, javascript translation table, translation job search, need html5 project, job in german translation, html5 text, html5 template code, gets source code, clear array c, c clear array, array template, translate in german, job in german, html5 job, replace, mobile translation, javascript html5, html and javascript , code html5

Project ID: #2508069

7 freelancers are bidding on average $39 for this job

Butterfly718

Hello,sir. I can help you. Let's start.

$30 USD in 1 day
(34 Reviews)
4.7
GoldenSoft86

Hi I can help you. Plz check PMB.

$40 USD in 2 days
(4 Reviews)
3.3
F1d5LGWa8

Custom software development (<b><i>Removed by Admin</i></b>)

$50 USD in 1 day
(0 Reviews)
0.0
parthrk

I am HTML5,JavaScript expert.I will do it for you...I can do it in very short time duration.

$35 USD in 2 days
(0 Reviews)
0.0
VW2HNf8q4

Custom software development (<b><i>Removed by Admin</i></b>)

$50 USD in 1 day
(0 Reviews)
0.0
divyachoubey01

Hi, i have 1 year working on the same.

$35 USD in 3 days
(0 Reviews)
0.0
freephpegyptsl

I have the needed exp. and will be glade to start from today . and wish to start long term work reln. I am developing web CMS scripts - Flash banner games - human narrated audio books. BR

$45 USD in 14 days
(0 Reviews)
0.0
bap0nC

please check my pm

$30 USD in 3 days
(0 Reviews)
0.0