Localised directory names using the .directory files

Mark Rose kde at markrose.ca
Sun Jul 8 00:26:53 BST 2007


On Saturday 07 July 2007 4:46:51 pm Peter Penz wrote:
> Hi Martin,
>
> On Saturday 07 July 2007 15:26:21 Martin Böhm wrote:
> [snip]
>
> > There is a minor issue concerning duplicate directory names (if the
> > Music/ directory is "translated" as Musik/ and the user creates a new
> > Musik/ directory himself). I don't see a big problem with that, as the
> > user knows he created a second directory (and I can't see a user case
> > where the user would want to do that).
>
> I see it as a major problem when having two folder icons named "Musik"
> inside one view. No matter whether the user did this on purpose or not: as
> soon as this case occurs, the user has a problem.
>
> More important is the answer to the question what should happen when the
> user renames a folder. Should the name property of the .directory entry be
> renamed or the name of the folder? Now combined with the above use case
> when having a folder named "Music" showing "Musik" (because of the
> .directory entry) and having a second folder named "Musik" (without a
> .directory entry), then the outcome of renaming a folder is
> unpredictable...

Indeed. There would be even more confusion accessing folders outside of KDE. 
If a user runs a non QT application or uses the command line, he won't find 
his "Musik" folder but "Music" instead. The words are similar enough there, 
but what about other folders with completely different names?

The best bet is to name a folder with i18n to begin with, and to store that 
name.

--Mark




More information about the kfm-devel mailing list