Re:Babel in Khan Academy's Internationalization Toolchain
by Osmium on Monday June 22, 2015 @06:28PM
(#9761615)
I'm not sure if it was intentional, but I appreciate the irony of a post on internationalisation that hard-codes "first" and "last" names. Not that I have any better ideas!
(Note for any iOS devs, iOS 9 introduces a cool NSPersonNameComponentsFormatter that tries to help with this sort of thing.)
Re:Babel in Khan Academy's Internationalization Toolchain
by kevinb7 on Monday June 22, 2015 @07:59PM
(#9761920)
The example was adapted from internal documentation as an example of how templating works with our i18n component. There's still lots I have to learn about i18n. "familyName" and "givenName" would be more general, but there might still be some edges cases that doesn't cover.
(Note for any iOS devs, iOS 9 introduces a cool NSPersonNameComponentsFormatter that tries to help with this sort of thing.)