forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Language DSU

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Visual DialogScript 5 Units
View previous topic :: View next topic  
Author Message
Vic D'Elfant
Past Contributor
Past Contributor


Joined: 26 Jun 2002
Posts: 673
Location: The Netherlands

PostPosted: Mon Jan 05, 2004 11:16 am    Post subject: Language DSU Reply with quote

Hello,

I recently released my first DSU I made (but I released it about 2 months after finishing date Wink). You can download it here.

This dsu is very usefull when you're creating a application that uses multiple languages, so there's no need anymore to work with .ini files.
The dsu also makes the use of translated menus much more easier... have a look at the example script.

Quote:

Always tried to create multi language programs with VDS, but gave up because it was to much work? Then this dsu might be the solution!

The dsu has the following features:
- It supports placing variables in a text which has been returned by the language file
- The text can be divided over multiple lines by placing '\n' in the text
- Unlimited number of language files
- The function @lang(decode_menu < event >) returns the < section >.< key > which belongs to a translated menu item, so you don't have to make a MENU event for each language. Have a look at the example script for more information...
- The use of blowfish encrypted language files is supported
- @lang(default) returns the language of the end user's operating system.

If there are some errors in my English, please correct them Embarassed

Please post any comments or suggestions below Smile

Best regards,
Vic

_________________
phpBB Development Team
Back to top
View user's profile Send private message Visit poster's website
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Mon Jan 05, 2004 11:33 pm    Post subject: Reply with quote

hi vic,

i might be interested in your dsu...will check it out tonight Very Happy

serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
vtol
Valued Contributor
Valued Contributor


Joined: 05 Feb 2004
Posts: 619
Location: Indiana

PostPosted: Sun Jan 14, 2007 3:21 am    Post subject: Reply with quote

Is this DSU availible, I tried the link with page not found result.
Thanks for reading...
Back to top
View user's profile Send private message Visit poster's website AIM Address
DaveŽ
Valued Contributor
Valued Contributor


Joined: 03 Sep 2005
Posts: 403
Location: Australia

PostPosted: Sun Jan 14, 2007 3:35 am    Post subject: Reply with quote

vtol wrote:
Is this DSU availible, I tried the link with page not found result.

http://www.vdsworld.com/search.php?keywords=language&match_type=%201&sid=3652af73c678ea976a4f3c8ad1fca30e

vtol wrote:
Thanks for reading...

Thank you for bringing this thread, and DSU, to my attention. I popped in to search for info on adding multi-language support to a script and saw this thread highlighted as having unread posts. Wink

And thanks to Vic for writing the DSU. I've only had a quick read of the help file and a quick look at the demo, but it seems like just what I needed.

_________________
cheers

DaveŽ
Back to top
View user's profile Send private message Visit poster's website
Vic D'Elfant
Past Contributor
Past Contributor


Joined: 26 Jun 2002
Posts: 673
Location: The Netherlands

PostPosted: Sun Jan 14, 2007 9:56 am    Post subject: Reply with quote

I'm glad to hear the DSU will/might be useful for someone Mr. Green
_________________
phpBB Development Team
Back to top
View user's profile Send private message Visit poster's website
DaveŽ
Valued Contributor
Valued Contributor


Joined: 03 Sep 2005
Posts: 403
Location: Australia

PostPosted: Sun Jan 14, 2007 11:49 am    Post subject: Reply with quote

This is so cool. Once I worked out that you can no longer use 'list create,1' or 'list create,2'. And remembered to add '_var' to the keynames that I wanted to use % with.

But, there's always a but, I'm getting a compiler error: Invalid function at line 134 in lang.dsu. It compiled and ran fine in the first application that I used it in. But the 2nd application won't compile or run.

EDIT Never mind. I didn't have #define function, BLOWFISH in this 2nd application.

Did I mention how cool this dsu is? Cool Kudos, Vic.

_________________
cheers

DaveŽ
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Visual DialogScript 5 Units All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum




Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group