Skip to content
⌘ NSIS Forum Archive

License Page Text Right To Left

5 posts

r2du-soft#edited

License Page Text Right To Left

hi
i use from: !insertmacro MUI_LANGUAGE "English" in my app.

how can change "just license page" Right To Left in MUI English LANGUAGE ?

when i use from .rft file mt test is right to left,but when i use from .txt file my text is left to right<is possible i use from .txt file and my text be right to left?



Thanks
r2du-soft#
i use from .rft file and my problem solve:
!insertmacro MUI_PAGE_LICENSE "License.rtf"
before that i used from .txt file.

but i have another problem,i use pron persian text in .rft file,when i open my program,system keyboard change to farsi but i have not system keyboard change,how can Prevent the change keyboard...
thanks
r2du-soft#
hi
masters i have a problem....
when i use persian(farsi) words in license page,after compile and after run program,when my program active system keyboard switch to Fa(persian),i want disable it,i want keyboard not change...,and when my program is open and i click on desktop my keyboard change to en....





i want keyboard automatic not change when open program...
it is possible?
Anders#
NSIS does not interact with the languagebar at all, this is standard Windows behavior. Even if you could change it, why would you want to force your opinion on your users? I believe there is a setting in Windows that controls this but it is global and you should respect your users configuration...
r2du-soft#
my problem solved
if license page text is persian(farsi),if user install persian(farsi) language on computer,when open program computer of use keyboard change to persian(farsi),with this code i can change(re back) keyboard to english language:


System::Call "user32::LoadKeyboardLayout(t '00000409',i 0x00000001)" ;English(Us)*(united States)
this is other language keyboard change just must replace in code:

00000402 	Bulgarian
0000041a 	Croatian
00000405 	Czech
00000406 	Danish
00000413 	Dutch (Standard)
00000813 	Dutch (Belgian)
00000409 	English (United States)
00000809 	English (United Kingdom)
00001009 	English (Canadian)
00001409 	English (New Zealand)
00000c09 	English (Australian)
0000040b 	Finnish
0000040c 	French (Standard)
0000080c 	French (Belgian)
0000100c 	French (Swiss)
00000c0c 	French (Canadian)
00000407 	German (Standard)
00000807 	German (Swiss)
00000c07 	German (Austrian)
00000408 	Greek
0000040e 	Hungarian
0000040f 	Icelandic
00001809 	English (Irish)
00000410 	Italian (Standard)
00000810 	Italian (Swiss)
00000414 	Norwegian (Bokmal)
00000814 	Norwegian (Nynorsk)
00000415 	Polish
00000816 	Portuguese (Standard)
00000416 	Portuguese (Brazilian)
00000418 	Romanian
00000419 	Russian
0000041b 	Slovak
00000424 	Slovenian
0000080a 	Spanish (Mexican)
0000040a 	Spanish (Traditional Sort)
00000c0a 	Spanish (Modern Sort)
0000041d 	Swedish
0000041f 	Turkish

thanks masters