Bug 65385 - Lightproof: UI translation must be kept out of pootle
Summary: Lightproof: UI translation must be kept out of pootle
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Linguistic (show other bugs)
Version:
(earliest affected)
4.1.0.0.alpha1
Hardware: Other All
: medium normal
Assignee: Andras Timar
URL:
Whiteboard: target:4.1.0.1 target:4.2.0
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-05 02:38 UTC by Olivier Hallot
Modified: 2013-06-16 12:26 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
translated properties file for pt-BR LightProof UI (2.47 KB, text/plain)
2013-06-05 02:38 UTC, Olivier Hallot
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Hallot 2013-06-05 02:38:03 UTC
Created attachment 80318 [details]
translated properties file for pt-BR LightProof UI

Sentence checking is implemented thru Lightproof and is closely tied to the language.

Some languages have rules that do not match en_US set of rules. These extra rules are not covered by pootle, because there is no entry for them. The present scheme created localized UI based on the en_US UI, and thus extra entries appears untranslated.

For example, pt-BR version of LightProof implements pleonasms and paronyms detections. These rules are not in the en_US version of Lightproof.

The build system creates the localized *.properties files based on the american properties file.

Local Lightproof developers can supply easily the localized properties file. To simplify the translation process I suggest we remove LightProof UI from pootle and get the translated file directly from LP developers.

See gerrit commit http://gerrit.libreoffice.org/#/c/4146/ for the pt-BR example,

At least, in the pt-BR case, this can be easily fixed.
Comment 1 Commit Notification 2013-06-16 12:24:31 UTC
Andras Timar committed a patch related to this issue.
It has been pushed to "libreoffice-4-1":

http://cgit.freedesktop.org/libreoffice/dictionaries/commit/?id=0a1af7797066e5329160b456604f6b3091c660a4&h=libreoffice-4-1

fdo#65385 default language of pt_BR LightProof settings panel will be pt_BR


It will be available in LibreOffice 4.1.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds
Affected users are encouraged to test the fix and report feedback.
Comment 2 Commit Notification 2013-06-16 12:24:48 UTC
Andras Timar committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/dictionaries/commit/?id=8da7237c1ddb4eba8f7ce2b5c08e84353d1095e9

fdo#65385 default language of pt_BR LightProof settings panel will be pt_BR



The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds
Affected users are encouraged to test the fix and report feedback.
Comment 3 Andras Timar 2013-06-16 12:25:23 UTC
OK, for the time being pt_BR LightProof settings panel will be in Portuguese. I don't think, however, that this move simplified anything. :) We had to do this, because you added controls to the dialog, but did not add their en-US strings to pt_BR_en_US.properties. Capabilities of en-US sentence checker is unrelated to this issue.