Change hard coded text in html to language variables
€30-250 EUR
Completed
Posted over 9 years ago
€30-250 EUR
Paid on delivery
I have a website that has all text hard coded in the HTML and need to create a multilingual version of that. Your task is to go through all given HTML files and do the following:
1:
Find the text elements in the html code, for example in this snippet:
<div class="box2 grey" >
<h1>Verfijn resultaat</h1>
<div class="items filter">
<div id="filter_datum_van"></div>
<div id="filter_datum_tot"></div>
<div id="calendarDiv"></div>
</div>
</div>
<div style="clear:both;"></div>
the text element would be "Verfijn resultaat".
2:
Append to a php file:
$lang['verfijn-resultaat'] = 'Verfijn resultaat';
Note that the array key has to be unique, all lowercase and spaces are converted to dashes. If the key already exists just add a "2" or something. If the value already exists use the existing key (for example the word "Opslaan" (which means "save") is very frequent and only needs one language key of course).
3:
Change Verfijn resultaat in the html snippet to <?=lang('verfijn-resultaat')?>
Note the language key here has to match the key you put in step 2.
This will take a couple of hours, as it is about 500kb of pure html code to go through. In total there are 244 files, but most of them are only 10 lines long and some of them have no text elements at all.
All in all, if you have HTML knowledge this is a fairly simple task and the budget is about 30-50 euros.
Thank you for your interest!
I know HTML. Is there much more to say? :)
The bid is from my estimate of how long it will take. I recon it'll take around 2 hours to do this.
Quick question: Do you use version control (e.g. svn/git)?
Take care!
€34 EUR in 3 days
5.0 (2 reviews)
2.6
2.6
10 freelancers are bidding on average €87 EUR for this job
Hello,
I am bidding to check if you do not find anyone to do this in 50 euro.
I believe you are estimating it too low.
You should pay atleast 1 euro each file.
Thanks
Hello!
I have enough skills to do this task fast and reliable
I dont took an HTML exam on Freelancer - as I dont earn yet enough money for this
Your project seems very interesting
Hi, your project description is quite clear. If I have the opportunity to do your project, I will:
1. Put all the files under the Git system for tracing the change history.
2. Use html editor to identify text elements.
3. For every text element, use find/grep/replace script to make sure all confirmed text elements are changed consistently.
4. Sort keys in the php file to make sure every key is unique in the file, though that is not highly possible.
Thanks for considering me.