Jump to content

[ SOLVED the OP had high brain temp.] -Diff. Languages ?


Recommended Posts

Sorry people for the title but didn't knew how to ask.Maybe a stupid question but free to insult me if you thing so :)I want to ask if i make a script that uses system paths or automatic installation or what ever that can be in different language depending on the users OS language how to make it work for all.For example if i use the path in greek is <έγγρaφa κaι ρυθμίσεις> in hebrew is < מסמכים והגדרות > etc. How to make it easy to work in all languages.Or run a cmd command i.e the dir how to run for languages like greek or russian,hebrew etc.In my system i have the english language but when i run the dir command for example i get symbol characters (!@?) for greek named folders.Should i code it in all languages.How you do applications for all languages ?I am sorry and thank you.

Edited by armoros

[font="verdana, geneva, sans-serif"] [/font]

Link to comment
Share on other sites

What does this return?

msgbox(64, "Directory is:", StringReplace(@UserProfileDir, @UserName, ""))

I believe, this is what you wanted...

Edited by MKISH

----------------------------------------

:bye: Hey there, was I helpful?

----------------------------------------

My Current OS: Win8 PRO (64-bit); Current AutoIt Version: v3.3.8.1

Link to comment
Share on other sites

:bye: Is this what you wanted...?

Thanks MKISH

Forgive me guys the high temp and humidity in greece has a bad effect on my brain.

I thing is easy to use the macro as Zedna suggested.

I complicate the thinks because i don't know basic AutoIt stuff.

Thanks for your time.

[font="verdana, geneva, sans-serif"] [/font]

Link to comment
Share on other sites

For example if i use the path <Documents and Settings> in greek is <έγγρaφa κaι ρυθμίσεις> in hebrew is < מסמכים והגדרות > etc. How to make it easy to work in all languages.

I provided an example to just counter this issue, rest assured you can have your way with System path macros...

----------------------------------------

:bye: Hey there, was I helpful?

----------------------------------------

My Current OS: Win8 PRO (64-bit); Current AutoIt Version: v3.3.8.1

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...