[etoys-dev] Question about LocaleID>>#displayName

Ricardo Moran richi.moran at gmail.com
Tue May 18 12:46:21 EDT 2010


Hi,
I've found this method:

----------------------------------------------------
LocaleID>>displayName
| magicPhrase translatedMagicPhrase |
 magicPhrase := '<language display name>'.
translatedMagicPhrase := NaturalLanguageTranslator translateWithoutLoading:
magicPhrase toLocaleID: self.
 ^ translatedMagicPhrase = magicPhrase
ifTrue: [self displayLanguage]
ifFalse: [translatedMagicPhrase]
----------------------------------------------------

Shouldn't magicPhrase be 'Language-Name' as it is in the po file?
Also, this string doesn't seem to be translated in any file, is that
correct?

Richo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakland.org/pipermail/etoys-dev/attachments/20100518/f7b5caab/attachment.html


More information about the etoys-dev mailing list