[Bug 91191] List of languages should be extendable and controllable by user

2014-02-10 Thread bugzilla
https://issues.apache.org/ooo/show_bug.cgi?id=91191

--- Comment #5 from mdjr mar...@rosenau-ka.de ---
The main problem seems to be the fact that OpenOffice internally uses
Microsoft's integer language codes (example: 0x409 is English).

Internally OpenOffice seems to have some kind of table that looks like this:

{0x409,en-US,English (USA)},
{0x407,de-DE,German (Germany)},

Unfortunately the integer code of an unknown language (e.g. exam-PLE) is not
known when opening a document containing this code.

To solve this OpenOffice could simply search for an unused integer ID and add
an entry dynamically to the list. Example: If the ID 0x1234 is not known
OpenOffice may create a temporary entry like this:

{0x1234,exam-PLE,unknown (exam-PLE)}

If a Microsoft Office document containing an unknown language is opened
(example: 0xABCD) an entry is created that looks like this:

{0xABCD,abcd-none,unknown (0xABCD)}

The drawback of this method is that a bad language ID is stored if an
OpenOffice document is converted into the Microsoft document format. A flag
telling the save routine that only the ISO or only the integer code is valid
could be added to the table.

A configuration file could contain a list of languages added by the user. The
user should have the possibility to add languages by ISO ID (e.g. en-US), by
integer ID (e.g. 0x409) or by both (e.g. en-US=0x409). The configuration file
should also contain the user-visible name (e.g. English (USA)) of the
language.

A GUI dialog window should be there to modify this configuration file.

Example for the configuration file:

 # Language with given integer code
Spanish (China), 0x5678
 # Language with given ISO code
Chinese (Italy), zho-IT
 # Language with both codes given
Italian (Spain), ita-ES, 0xABCD

This would lead to the following temporary dynamic entries:

{0x5678,1234-none,Spanish (China)},
{0x1234,zho-IT,Chinese (Italy)},
{0xABCD,ita-ES,Italian (Spain)},

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.


[Bug 91191] List of languages should be extendable and controllable by user

2014-01-29 Thread bugzilla
https://issues.apache.org/ooo/show_bug.cgi?id=91191

Edwin Sharp el...@apache.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 CC||el...@apache.org
 Resolution|--- |DUPLICATE

--- Comment #1 from Edwin Sharp el...@apache.org ---
Duplicate bug

*** This bug has been marked as a duplicate of bug 87255 ***

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.


[Bug 91191] List of languages should be extendable and controllable by user

2014-01-29 Thread bugzilla
https://issues.apache.org/ooo/show_bug.cgi?id=91191

--- Comment #3 from mdjr mar...@rosenau-ka.de ---
Created attachment 82432
  -- https://issues.apache.org/ooo/attachment.cgi?id=82432action=edit
Correct .odt file where OpenOffice will cause a loss of information.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.


[Bug 91191] List of languages should be extendable and controllable by user

2014-01-29 Thread bugzilla
https://issues.apache.org/ooo/show_bug.cgi?id=91191

mdjr mar...@rosenau-ka.de changed:

   What|Removed |Added

 Status|RESOLVED|UNCONFIRMED
 Resolution|DUPLICATE   |---

--- Comment #2 from mdjr mar...@rosenau-ka.de ---
This bug has nothing to do with bug 87255!

Bug 87255 is about an easier method of switching existing languages (e.g.
change the language for the whole document).

This bug is about

- a loss of data that occurs if a valid .odt document (maybe created by a later
version of OpenOffice or LibreOffice) contains a language not known to
OpenOffice
- the missing possibility to add own languages to OpenOffice.

The loss of data has been tested using the following release:

OpenOffice 4.0.1, AOO401m5(Build:9714), Rev. 1524958, 2013-09-20 11:40:29

LibreOffice 3.6 also has this bug.

The .odt file attached contains a paragraph in the language quz/PE, which is
not known to OpenOffice.

By just opening the document and saving it using save as... (no modification
to the document is done) the language information is lost and the paragraph's
language becomes none.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.


[Bug 91191] List of languages should be extendable and controllable by user

2014-01-29 Thread bugzilla
https://issues.apache.org/ooo/show_bug.cgi?id=91191

Edwin Sharp el...@apache.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |CONFIRMED
 Latest|--- |4.1-dev
Confirmation on||
 Ever confirmed|0   |1

--- Comment #4 from Edwin Sharp el...@apache.org ---
Thank you and sorry for misunderstanding.

Imaynataq kachkanki? Default - [None]

AOO410m1(Build:9750)  -  Rev. 1560934
2014-01-27_04:11:25 - Rev. 1561585
Debian

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.