PortableApps.com Platform and Suite 1.6 have been released.

[Solution] PortbleApps.com Folders Localization

Submitted by Jhonn on July 19, 2009 - 4: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.

“It is in vain that you rise up early and go late to rest, eating the bread of anxious toil; for he gives to his beloved sleep.” – Solomon, Psalm 127:2

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?

-Essentiel, adude159753, Thorn, Murtagh
--Whomever you choose to rememeber me by from past and current games I have played.

A Mac is only good if it is on fire.

Yes

I am a Christian and a developer and moderator here.

“It is in vain that you rise up early and go late to rest, eating the bread of anxious toil; for he gives to his beloved sleep.” – Solomon, Psalm 127:2

Thanks

Cool, thanks for confirming that for me.

-Essentiel, adude159753, Thorn, Murtagh
--Whomever you choose to rememeber me by from past and current games I have played.

A Mac is only good if it is on fire.