Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 361113

Summary: [Documentation] Revise documentation for internationalization
Product: [RT] RAP Reporter: RĂ¼diger Herrmann <ruediger.herrmann>
Component: ToolsAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: ronald.so
Version: unspecified   
Target Milestone: 2.1 RC3   
Hardware: All   
OS: All   
URL: http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.rap.help%2Fhelp%2Fhtml%2Fadvanced%2Finternationalization.html
Whiteboard:
Bug Depends on:    
Bug Blocks: 352265    

Description RĂ¼diger Herrmann CLA 2011-10-17 05:30:45 EDT
The section "How does RAP select the language for a user session?" in the "Internationalization" topic [1] is misleading.
It should point out that the primary language from the Accept-Language header is used as the session-locale and and this is done regardless of the available translations.
To clarify further, we probably should explain how the locale is determined (i.e.how RWT#get/setLocale works ) and then explain how translations are looked up (there is a pointer in the FAQ already [2]) 

[1] http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.rap.help%2Fhelp%2Fhtml%2Fadvanced%2Finternationalization.html
[2] http://wiki.eclipse.org/RAP/FAQ#Why_does_the_Locale_fallback_not_work_as_expected.3F
Comment 1 Ralf Sternberg CLA 2013-06-04 05:47:45 EDT
I've revised the help on internationalization and tried to focus on the adjustments needed for RAP and multi-user systems in general rather than providing a recipe to follow.
Hope the get/setLocale part is also clearer now. Comments are welcome.