Create a form based on a language file and save it to the server | .php
$10-30 USD
В роботі
Опублікований about 9 years ago
$10-30 USD
Оплачується при отриманні
Create a form based on a language file and save it to the server.
I have a language file (available upon request). It has two different kinds of
entries:
<code>
define ('ML_MSGBODY' , 'Dear sir, madam');
$lng['ml_msgsendto'] = "Message send to:";
</code>
There can be multiline entries as wel, for instance:
<code>
$lng['ml_msgsbody'] = "Dear sir, madam,
You received a message from bla bla.
$footer";
define ('ML_MSGBODY' , 'Dear sir, madam,
You received a message from bla bla.
'.$footer.'');
</code>
What needs to be done:
1. Read the language file and all vars on the fly (as the file will change over time),
no hard coding all vars manually , but loop over them instead.
2. create a form with the language texts. In case of the first examples above:
<input name="ML_MSGBODY" type="text" id="ML_MSGBODY" value="Dear sir, madam" size="30" />
<input name="ml_msgsendto" type="text" id="ml_msgsendto" value="Message send to:" size="30" />
Again, this has to be done on the fly, no hard coding of all vars. Loop over them and explode/split them.
3. Multiline texts (for example check the number of words) are represented as a textarea, all others as a textfield.
4. create a save function (.php) Check entries and addslashes to prevent breaking the file.
5. check all entries one by one to see if it has changed, if so: add a comment after the entry, like so (example):
$lng['ml_msgsendto'] = "Message send to:"; # changed -put date here-
5. once saved, all entries need to be saved together as a new language file (name+[login to view URL]),just like the original language file.
Remarks:
- please PM me for the language file before bidding.
- if the brief is unclear, please contact me before bidding.
Hello!
With 99% completion rate, 750 successfully completed projects, and a 5.00 reputation (maximum possible, 5.0) (Yes, not even 4.99 average rating, can be verified on my profile page https://www.freelancer.com/u/rajeshsonisl.html !!)... you can never go wrong choosing me :)
I look forward to your reply.
Thanks.
Kind Regards,
Rajesh Soni
>Hello Client,
Thank You for the opportunity.
As per your requirement, I would like to tell you that I have a very strong experience of more than 4 years in field of Joomla,php,Wordpress,HTML5 & Dreamweaver
I would also like to mention that I have experts working over here and I will provide you with 100% result,I'm trying to create client base and reputation. I have a computer science degree and English Language background,both of which will be beneficial for this job.
I would also be available for on-going work should you require it.
Hi!
Multiline vars can be easily detected by strpos($haystack,"\n") !== false;
I don't know how I can PM you before bidding, because only you can PM first.
Seems to be easy one. I made my own templating system last winter, which had much much more complicated variable structure.