Babel in Khan Academy's Internationalization Toolchain(engineering.khanacademy.org)
engineering.khanacademy.org
Babel in Khan Academy's Internationalization Toolchain
http://engineering.khanacademy.org/posts/i18n-babel-plugin.htm
1 comments
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.)