Issue 60796

Summary: Thai installation set with Thai locale aborts when changing installation folder
Product: Installation Reporter: samphan
Component: uiAssignee: vg <vladimir.glazounov>
Status: CLOSED FIXED QA Contact: issues@installation <issues>
Severity: Trivial    
Priority: P3 CC: arthit, hin.stone, issues, markpeak, pocha
Version: OOo 2.0.1   
Target Milestone: OOo 2.0.2   
Hardware: PC   
OS: Windows, all   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on:    
Issue Blocks: 41707    
Attachments:
Description Flags
I try the new binary mentioned, found the same error. This is the error dialog box. none

Description samphan 2006-01-19 04:18:48 UTC
The multilingual Thai/English installer build from issue 60034 has a problem.

- This is on both Windows XP and Windows 98
- Set Thai as the Windows locale
  * Windows XP
    - Control Panel->Regional and Language Options->Regional Options
    - in Standards and formats, select Thai
    - OK
  * Windows 98
    - Control Panel->Regional Settings
    - select Thai
    - OK, restart the machine
- Run the installation program. It'll be in Thai.
- Select Custom (à¸à¸³à¸«à¸™à¸”เอง) installation
- Try to change the target folder (ติดตั้งไปยัง), click Change (เปลี่ยน)
- You'll see the message
  "ข้อผิดพลาดภายใน 2870. InstallChangeFolder, NewFolder, สร้างโฟลเดอร์ใหม่"
- The installation abort.

This prevent users from changing the default target folder (C:\Program
Files\OpenOffice.org). If they have to, e.g. the drive is full, they'll have a
problem.
The work-around is easy. Simply change the Windows locale to English before
running the installer.
I guess this may happen in other multilingual installer too.
Comment 1 jjc 2006-01-19 06:32:39 UTC
I'm not clear from your report which builds have this problem.  Does the one
from Sun at

http://oootranslation.services.openoffice.org/pub/OpenOffice.org/2.0.1rc4/OOo_2.0.1rc3_051210_Win32Intel_install_th.exe

have this problem or is it only the ones I did?

(This doesn't block 60034. That's a completely separate issue about multilingual
installation sets failing on Windows 98.)
Comment 3 samphan 2006-01-19 07:27:32 UTC
James <- Sorry for confusion about blocking

The problem only occurs when the installer UI is Thai, no matter who build the
installer. Switch the installers UI to English then you won't have the problem.
I'd like to test OOo 2.0.1 with Thai and m150 with Thai, but I can't find them.
I'm not sure if this problem comes from the (Thai) translation or the installer
code.
Comment 4 jjc 2006-01-19 08:50:23 UTC
Reassigning issue since it's not just a problem with my builds.

mark, samphan: please try installing some other non-US build on a machine with a
matching locale

There's a m150 build at:

ftp://ftp.linux.cz/pub/localization/OpenOffice.org/devel/680/SRC680_m150/Build-1/OOo_2.0_windows_install_th.exe
Comment 5 Olaf Felka 2006-01-19 09:24:02 UTC
@ is: Please have a look. Just starting this installation is enough, switching
the language settings not needed. Version can be found on our tausch drive in my
folder.
Comment 6 samphan 2006-01-19 09:41:23 UTC
Created attachment 33366 [details]
I try the new binary mentioned, found the same error. This is the error dialog box.
Comment 7 ingo.schmidt-rosbiegal 2006-01-19 11:09:55 UTC
This is caused by an error in the translation of two strings. In the
InstallChangeFolder there are two icons ("Create new folder" and "Up one level")
that have tooltips. The string for this tooltips must end with a  |   (vertical
line). This vertical line is part of the two strings

OOO_CONTROL_13  ( Up one level| )
and
OOO_CONTROL_117  ( Create New Folder| )

This two vertical lines are missing in the thai translation (for example
OOO_CONTROL_121 looks fine, also in thai).
After adding this vertical lines in the control table of the thai msi database ,
the InstallChangeFolder appeared without problems.
-> setting target 2.0.2, needs to be fixed in the translation database.
Comment 8 ingo.schmidt-rosbiegal 2006-01-19 14:52:06 UTC
IS -> VG: The database contains the correct strings. But the content of 
instsetoo_native/inc_openoffice/windows/msi_languages/localize.sdf  
is broken for Thai. I think you have to rebuild this sdf file.
Comment 9 vg 2006-01-20 16:12:02 UTC
fixed in r1.25 of inc_openoffice/windows/msi_languages/localize.sdf
Comment 10 samphan 2006-02-01 08:55:06 UTC
I've verified the build
http://ftp.linux.cz/pub/localization/OpenOffice.org/devel/680/SRC680_m153/Build-1/OOo_2.0_windows_install_en-US_th.exe
on Windows XP SP2 and Windows 98.
This issue have been fixed. I can change target folder w/o any problem.
Comment 11 Olaf Felka 2006-10-23 08:45:11 UTC
*** Issue 70729 has been marked as a duplicate of this issue. ***
Comment 12 rpavelic 2006-10-23 10:48:54 UTC
Hi!
I'm having the same problem with Croatian localized version. (2.0.4)

Can someone point me to files which I need to edit to fix this problem?

Thanx
Comment 13 vg 2006-11-01 10:29:50 UTC
.