This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2008-01-18 07:23:17

datasmid
Scratcher
Registered: 2008-01-18
Posts: 2

localizing Scratch Media pathnames on OS X

OS X has a nice feature allowing localized pathnames, which would be great for the Media collection as not all kids know English. You can rename a directory to directory.localized with a .localized subdir containing: en.strings, es.strings, fr.strings, nl.strings etc. These utf8 files contain key-value pairs.

This is documented: http://developer.apple.com/documentation/MacOSX/Conceptual/BPInternational/Articles/LocalizingPathnames.html#//apple_ref/doc/uid/20002141

I tried to do it and it worked great in the Finder, I found however that the scratch-developers would need to adjust the file-selector code because the paths are hardcoded  and scratch is not aware of the feature by default (probably because MIT rolled their own file-selector instead of using the Cocoa one).

Offline

 

Board footer