Current time: 11-25-2024, 06:38 PM Hello There, Guest! (LoginRegister)


Poll: Is this good ?
Yes !
No !
[Show Results]
 
Post Reply 
Language & Translation
Author Message
Quix0r Offline
Junior Member
*

Posts: 33
Joined: Oct 2006
Reputation: 0
Post: #4
RE: Language & Translation
Also in my view: good idea. May I suggest something here?

The english language is the primary to open up the HEC-MSMP for nearly all people. On a server (mine is down currently and running backup!) we manage a text file with all text strings. This text file shall be not public accessable (reason follows!) and only we know the passwords to it.

There must also be a PHP script which handles the incoming POST requests - or "update-pings" - from our dev-tool (let me call it lang-uploader.php here, ok?).

When we add new languagge strings to the language files we must execute "lang-uploader.php" to check if there are new strings. This is done by lang-uploader.php asks for login/password (for the .htaccess access control with BASIC auth) and downloads the latest list. Then it compares the list with the local language strings and marks all new strings. Then we just need to press "upload" and done!

The ping-handler on the server is including the new strings in it's list (with pre-checking for maybe overridings) and adds them. A status code will be returned on success or failure.

The server-side list could look like this:

string1="english value"
string_a="english value a"

I have already made some experiences with such "POST pings" so I'm maybe the perfect candidate for coding this.

We need the login/password protection because else the spammers will add strings like following to our list:

viagra="http://some-spammers-url/buy-cheap-viagra-online.html"

And then we have lots of strings to remove. :-(

Any further suggestions?

Quix0r
11-01-2006 03:03 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Language & Translation - MicCo - 10-24-2006, 07:03 AM
RE: Language & Translation - ephigenie - 10-24-2006, 06:24 PM
RE: Language & Translation - MicCo - 10-24-2006, 07:36 PM
RE: Language & Translation - Quix0r - 11-01-2006 03:03 AM
RE: Language & Translation - MicCo - 11-01-2006, 07:42 AM
RE: Language & Translation - yomizmo - 12-19-2006, 04:30 AM
RE: Language & Translation - RatS - 12-19-2006, 09:01 AM
RE: Language & Translation - yomizmo - 12-19-2006, 09:48 AM
RE: Language & Translation - RatS - 12-19-2006, 05:45 PM
RE: Language & Translation - yomizmo - 12-20-2006, 12:19 AM
RE: Language & Translation - MicCo - 12-28-2006, 10:06 PM
RE: Language & Translation - RatS - 12-30-2006, 06:10 PM

Forum Jump:


User(s) browsing this thread: 2 Guest(s)