In 10.3, Mathematica starts captioning symbol-names into foreign languages if your Interface preferences are set to have Mathematica in a foreign language.
I poked around the
Attributes, and viewed the
Cell expression, but from the code I couldn't find any sign that this was happening at all (though it's obviously happening somehow).
I want to be able to make this happen on my own functions: to be able to supply translations, for instance, or extremely short inline explanations. For example, if I made a little function
toInt, I might want to attach a type annotation
String->Integer. This could help offset the verbosity of Mathematica code by making the notebook interface that little bit more intelligent.
One can see the translations available using
WolframLanguageData[Graph][ EntityProperty["WolframLanguageSymbol", "Translations"] ]
How does Mathematica do the translation annotations, and how can I do it myself?