Bug 76495 - Catalogmanager directory structure to handle GNU translations where PO files are LANG.po in the same directory
Summary: Catalogmanager directory structure to handle GNU translations where PO files ...
Status: CONFIRMED
Alias: None
Product: lokalize
Classification: Applications
Component: project management (show other bugs)
Version: unspecified
Platform: RedHat Enterprise Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: Stanislav Visnovsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-01 11:39 UTC by dwayne
Modified: 2024-08-08 15:05 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dwayne 2004-03-01 11:39:15 UTC
Version:            (using KDE KDE 3.2.0)
Installed from:    RedHat RPMs
OS:          Linux

When browsing translations of GNU and Red Hat tools and programs you need a different way of viewing the catalog manager.  In these projects they save the translated PO file as LANG.po eg zu.po in the same directory as the POT file.

So in this mode the catalogmanager if it encounters a directory with a valid POT but no LANG.po then it shoudl display the untranslted POT file. If the direcotry cotains a LANG.po for teh translators locale then it should be displayed using teh name of the POT file, not zu.po but some-application.po.

When saving the translated files should be saved as zu.po.  Also when integrating with CVS it shoudl also mange this name wraparound.

Alternatveily it could just say zu.po with the actual POT name in brakets which would probably make it easier to program.
Comment 1 Dennis Schridde 2007-04-02 19:38:53 UTC
Is there a specific reason why this old bug has not yet been worked on?
Comment 2 Marek Laane 2012-09-08 12:36:31 UTC
Just to upgrade five year old question - is there any plan to work on and implement this feature?
Comment 3 Christoph Feck 2012-09-08 17:35:35 UTC
KDE is a community driven software collection. If you feel others would benefit from your patch, please add it to this bug report.
Comment 4 Nick Shaforostoff 2012-09-10 09:56:22 UTC
you can help at least by providing a links to such dir structure examples, or even add archived folder as an attachment to this bug report
Comment 5 Marek Laane 2012-09-10 11:28:22 UTC
E.g http://svnweb.mageia.org/soft/drakx-net/trunk/po/ but I'm sure examples may be found a lot ...
Comment 6 Karl Ove Hufthammer 2019-01-05 14:38:11 UTC
Would perhaps #292985 (https://bugs.kde.org/show_bug.cgi?id=292985) be an adequate solution to this problem?
Comment 7 Karl Ove Hufthammer 2024-08-08 15:05:43 UTC
Here are a couple of examples:

https://sourceforge.net/p/tuxpaint/tuxpaint/ci/master/tree/src/po/
https://sourceforge.net/p/tuxpaint/tuxpaint-stamps/ci/master/tree/po/

The first one has POT and PO files on this form:
appname.pot
langcode1.po
langcode2.po
...

The second one has POT and PO files on this form:
appname.pot
appname-langcode1.po
appname-langcode2.po
...

I think the first one is the most common one.