The slot for tag, kept exactly as written, added if new. 0 for an empty one, which shapes with the system languages.
tag
static int intern(String tag) => tag.isEmpty ? 0 : internTextLanguage(tag);