User:DrDub

See my personal site for details.

Tasks
Of interest:


 * Development/EasyHacks
 * Development/EasyHacks
 * Development/EasyHacks

Export/Import .src comments to .sdf/.po format
This hack got added by Caolan in

ORIGINAL

Our translations system has .src files in a custom format where developers add strings that need to be translated.

Translations are stored in .sdf files and there are various tools to convert these  to and from the more normal .po format that translators are typically  used to.

.src files can contain comments (x-comment) intended for the end-translator to see, e.g. See  http://opengrok.libreoffice.org/xref/components/cui/source/options/optsave.src#221 .po files can also contain comments, but the intermediate .sdf file does not.

Ideally the .sdf format would be able to store these comments, and the po2sdf  and sdf2po tools would be made aware of them in order to import/export  them.

See l10ntools for the source code to create .sdf files

UPDATE

Information about SDF:


 * https://wiki.openoffice.org/wiki/Translation_for_3.1#SDF_to_PO_Convertion_Tools
 * http://l10n.openoffice.org/L10N_Framework/iso_code_build2.html

From the page describing the format, we can see there are several legacy columns that can be re-used for storing comments. Re-using a column is always a bad idea, but the last column is the date of the entry, so there might be some tools that use "last column" for date rather than the actual column number. The help string looks very appropriate for this.

Currently looking for the po2sdf and sdf2po source code.

Found oo2po, it actually handles comments as language "x-comment".