Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 80802 - Help opening right to left even if orientation not specified
Summary: Help opening right to left even if orientation not specified
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: User Assistance (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 M4   Edit
Assignee: Konrad Kolosowski CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-13 08:10 EST by Tod Creasey CLA
Modified: 2004-12-13 10:55 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tod Creasey CLA 2004-12-13 08:10:46 EST
200412081200

Help is opening right to left even if -dir is not specified on the US locale 
with a Hebrew keyboard. 

In certain configurations this configuration the vm will report the locale as 
being Hebrew even though the OS specifies US.

In the workbench we only set this value if the -nl command line argument is 
set.
Comment 1 Konrad Kolosowski CLA 2004-12-13 10:52:17 EST
I will change help to stay consistent with the workbench.
Comment 2 Konrad Kolosowski CLA 2004-12-13 10:55:08 EST
I have added
		if(System.getProperty("osgi.nl.user") == null)
			return false;
before guessing direction from the system locale.

The change does not affect infocenter scenario with direction guessed from the 
browser locale.

Logic for standalone help is the same as for the workbench.  For example, on a 
Hebrew machine, one will need to specify "-dir rtl" or "-nl iw" for RTL 
rendering to turn on.