finder kind

I wrote this code (well similar code)


set foo to (choose folder)
tell application "Finder"
	set theKind to kind of foo
end tell

to tell if the user had dropped a folder on my droplet it return the string “Folder”

however the person I wrote the droplet for is running the danish install so it returns the string “mappe” which means “folder” is there a better way to do this so that I don’t have to worry about the language ?

mm

Try the info for command:

choose folder
set foo to result

set {folder:isFolder} to info for foo
display dialog isFolder

thank you Bruce

mm