Get the new PortableApps.com Platform 10.0: Gorgeous themes, a full portable app store and advanced functionality
Announcing the World's Best Flash Drive: The PortableApps.com Companion | Did you see a malware warning on Friday?

[Solution] PortbleApps.com Folders Localization

Jhonn's picture
Jhonn - July 19, 2009 - 3:31pm

The PortableApps Platform is multilanguage, but the folders "Documents", "Pictures", "Music" and "Videos" always stay in English, but is possible to add multilanguage support in folders, simple modify the "Desktop.ini" and the folders will be changed to OS language (Only Windows -- all versions):

Documents
[.ShellClassInfo]
LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21770
InfoTip=@%SystemRoot%\system32\shell32.dll,-22914
IconFile=..\PortableApps\PortableApps.com\App\DefaultData\FolderIcons\documents.ico
IconIndex=0

Pictures
[.ShellClassInfo]
LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21779
InfoTip=@%SystemRoot%\system32\shell32.dll,-12688
IconFile=..\..\PortableApps\PortableApps.com\App\DefaultData\FolderIcons\pictures.ico
IconIndex=0

Music
[.ShellClassInfo]
LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21790
InfoTip=@%SystemRoot%\system32\shell32.dll,-12689
IconFile=..\..\PortableApps\PortableApps.com\App\DefaultData\FolderIcons\music.ico
IconIndex=0

Videos
[.ShellClassInfo]
LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21791
InfoTip=@%SystemRoot%\system32\shell32.dll,-12690
IconFile=..\..\PortableApps\PortableApps.com\App\DefaultData\FolderIcons\videos.ico
IconIndex=0

________________________________________________________________________________________

Sorry for this English, I'm Brazilian


Not optimal

The problem here is that while on Vista you'll get "Documents", "Pictures", "Music" and "Videos", on XP or earlier you'll get "My " prefixed onto them. This subject has been mentioned once before (only once, I believe), and nothing was decided at the time... I'm thinking that possibly after 2.0 it'd be worth putting a bit of effort into it - all it needs to be is a single DLL file with a string table for them. Oh yeah, also note that it'll only work in Explorer, and it'll be based on the OS language, not the PAP language. But I'd guess that you know that seeing as you know how to do the rest of it Smiling

I am a Christian and a developer and moderator here.

“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1

Folder Icons

Do you think if I changed this line:
IconFile=..\..\PortableApps\PortableApps.com\App\DefaultData\FolderIcons

I would also be able to change the folder icon?

-adude159753, adude1597535, thorn, essentiel
--whomever you choose to remember me by in the previous and current games I have and am playing.
-Word to the wise: Only with hard work can you do; only with persistance can you achieve.

Yes

I am a Christian and a developer and moderator here.

“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1

Thanks

Cool, thanks for confirming that for me.

-adude159753, adude1597535, thorn, essentiel
--whomever you choose to remember me by in the previous and current games I have and am playing.
-Word to the wise: Only with hard work can you do; only with persistance can you achieve.