Develop language file system for htmp/php/javascript application
$100-500 USD
完了済み
投稿日: 14年近く前
$100-500 USD
完了時にお支払い
I have a web? application written in HTML/PHP/Javascript.
The user interface is in English. I want the make the web application multi language. So I need some functions to replace the English text with another language.
PHP Example: Instead of
echo "Error";
I want to change? that into something like:
echo Translate( "Error", "DE" );?
DE stands for Germany, and Translate should return the German translation of "Error" which is "Fehler".?
How does Translate know that the German translation of "Error"? is "Fehler"? Because there must also be a translation file where all translations are stored. (Maybe in XML format??)? There should be one translation file for each language.
The translation file will be maintained by me.
The translation file must be consulted by the Translate function. If the word or sentence is found, then the translation is returned, if not, then nothing is translated and? the original string is returned.
The same thing applies to Javascript code:
For example: I want to replace
confirm("Are You Sure you Want to Delete the Record?")
with
confirm( Translate( "Are You Sure you Want to Delete the Record?", "DE")
## Deliverables
* * *This broadcast message was sent to all bidders on Thursday Jul 8, 2010 1:07:50 PM:
Message to all bidders: As I understand from the reactions on this project: the tricky thing is to replace strings in Javascript files (.js) with other strings. I would like to know from you how you think to solve this problem.