View previous topic :: View next topic |
Author |
Message |
Vic D'Elfant Past Contributor
Joined: 26 Jun 2002 Posts: 673 Location: The Netherlands
|
Posted: Mon Jan 05, 2004 11:16 am Post subject: Language DSU |
|
|
Hello,
I recently released my first DSU I made (but I released it about 2 months after finishing date ). 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
Please post any comments or suggestions below
Best regards,
Vic _________________ phpBB Development Team |
|
Back to top |
|
|
Serge Professional Member
Joined: 04 Mar 2002 Posts: 1480 Location: Australia
|
Posted: Mon Jan 05, 2004 11:33 pm Post subject: |
|
|
hi vic,
i might be interested in your dsu...will check it out tonight
serge _________________
|
|
Back to top |
|
|
vtol Valued Contributor
Joined: 05 Feb 2004 Posts: 642 Location: Eastern Indiana
|
Posted: Sun Jan 14, 2007 3:21 am Post subject: |
|
|
Is this DSU availible, I tried the link with page not found result.
Thanks for reading... |
|
Back to top |
|
|
DaveR Valued Contributor
Joined: 03 Sep 2005 Posts: 413 Location: Australia
|
Posted: Sun Jan 14, 2007 3:35 am Post subject: |
|
|
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.
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 |
|
|
Vic D'Elfant Past Contributor
Joined: 26 Jun 2002 Posts: 673 Location: The Netherlands
|
Posted: Sun Jan 14, 2007 9:56 am Post subject: |
|
|
I'm glad to hear the DSU will/might be useful for someone _________________ phpBB Development Team |
|
Back to top |
|
|
DaveR Valued Contributor
Joined: 03 Sep 2005 Posts: 413 Location: Australia
|
Posted: Sun Jan 14, 2007 11:49 am Post subject: |
|
|
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? Kudos, Vic. _________________ cheers
Dave |
|
Back to top |
|
|
|