Jump to content

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Find out more here. X
X


Photo

MultiLang.au3


  • Please log in to reply
8 replies to this topic

#1 BrettF

BrettF

    My Drunk Monkey Guerilla is gonna getcha!

  • MVPs
  • 7,662 posts

Posted 14 August 2010 - 10:43 AM

MultiLang.au3
V1.0.0.0- 14 AUG 2010
Attached File  MultiLang.zip   26.78KB   850 downloads

This is a UDF version of how I chose to load different languages into my GUI for AAMP. It uses different XML language files to provide multi-language support.

The download includes the UDF, example GUI with 3 languages (English, German, French) to play with. Languages were translated using Google Translate. Don't expect it to be correct. In your programs try not to do this. Wherever possible find a fluent speaker and give them a cookie. ;)

Change Log:
1.0.0.0 - 14 AUG 2010     Inital Version Released


Comments and Criticism welcome.
  • ravkr likes this







#2 mesale0077

mesale0077

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 477 posts

Posted 15 August 2010 - 11:32 AM

thank you BrettF
very nice

#3 Lazycat

Lazycat

    Coding cat

  • MVPs
  • 1,174 posts

Posted 30 August 2010 - 08:01 AM

I always interesting in multilanguage implementations. While your's done ok, the "xml" files are not xml actually. Simple adding root node will made it valid, not cease compatibility and allow potential translator to use some visual editor, like XML Notepad.
Koda homepage (http://www.autoitscript.com/fileman/users/lookfar/formdesign.html) (Bug Tracker)My Autoit script page (http://www.autoitscript.com/fileman/users/Lazycat/)

#4 wakillon

wakillon

    Tiny Tools Coder

  • Active Members
  • PipPipPipPipPipPip
  • 2,893 posts

Posted 30 August 2010 - 08:47 AM

Thanks It looks very helpfull ! Posted Image

In the french xml file could you replace this line :

<edit1>Il s'agit d'une phrase longue de certaines choses différentes. Vraiment très long. En fait, il est maintenant un paragraphe.@CRLF@CRLFa Même les sauts de ligne ...</edit1>

by this one :

<edit1>Il s'agit d'une longue phrase faites de différentes choses. Vraiment très longue. En fait, c'est maintenant un paragraphe.@CRLF@CRLFIl y a même les sauts de ligne ...</edit1>

It's a detail, but it's more understandable !

Edited by wakillon, 31 August 2010 - 07:17 AM.

       AutoIt Version : 3.3.12.0 / Beta 3.3.13.19 SciTE 3.4.1 OS:WIN7/WIN8.1 CPU:X64 OS:X64


#5 BrettF

BrettF

    My Drunk Monkey Guerilla is gonna getcha!

  • MVPs
  • 7,662 posts

Posted 31 August 2010 - 04:35 AM

I always interesting in multilanguage implementations. While your's done ok, the "xml" files are not xml actually. Simple adding root node will made it valid, not cease compatibility and allow potential translator to use some visual editor, like XML Notepad.

Suggestion noted... Will update to make it valid and add a few little extras with the next version.

Thanks It looks very helpfull ! Posted Image

In the french xml file could you replace this line :

<edit1>Il s'agit d'une phrase longue de certaines choses différentes. Vraiment très long. En fait, il est maintenant un paragraphe.@CRLF@CRLFa Même les sauts de ligne ...</edit1>

by this one :

<edit1>Il s'agit d'une phrase longue faites de différentes choses . Vraiment très longue. En fait, c'est maintenant un paragraphe.@CRLF@CRLFa Même les sauts de ligne ...</edit1>

It's a detail, but it's more understandable !

Could you just upload the edited XML file please? What you've pasted doesn't display correctly in Firefox...

Thanks,

Brett

#6 wakillon

wakillon

    Tiny Tools Coder

  • Active Members
  • PipPipPipPipPipPip
  • 2,893 posts

Posted 31 August 2010 - 07:20 AM

Could you just upload the edited XML file please? What you've pasted doesn't display correctly in Firefox...

Thanks,

Brett



Thanks,

wakillon.

       AutoIt Version : 3.3.12.0 / Beta 3.3.13.19 SciTE 3.4.1 OS:WIN7/WIN8.1 CPU:X64 OS:X64


#7 BrettF

BrettF

    My Drunk Monkey Guerilla is gonna getcha!

  • MVPs
  • 7,662 posts

Posted 31 August 2010 - 10:14 AM



Thanks,

wakillon.

Legend.

#8 wakillon

wakillon

    Tiny Tools Coder

  • Active Members
  • PipPipPipPipPipPip
  • 2,893 posts

Posted 31 August 2010 - 10:22 AM

Legend.



I don't know what write for legend, it's just a little correction more understandable Posted Image

       AutoIt Version : 3.3.12.0 / Beta 3.3.13.19 SciTE 3.4.1 OS:WIN7/WIN8.1 CPU:X64 OS:X64


#9 B3tt3R

B3tt3R

    Seeker

  • Normal Members
  • 6 posts

Posted 08 April 2012 - 12:36 PM

Very nice, thanks! ;)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users