User talk:Hippietrail/ajaxtranslinks.js

EBNF for the grammar of a translation entry as represented in the DOM
entry                = language-name, ":" , translations | translation-request ;

language-name        = plain-language-name | linked-language-name | special-language-name ;

plain-language-name  = letter-string ;

linked-language-name = , plain-language-name ,  ;

special-language-name =, plain-language-name , ;

translations         = translation, { "," , translation } ;

translation-request  =, plain-language-name , ;

translation          = term, [ inline-interwiki ] , [ transliteration ] , [ gender ] ;

term                 = plain-term | linked-term ;

plain-term           = letter-string ;

linked-term          = , plain-term ,  ;

inline-interwiki     =, "(", language-code , ")" , ;

transliteration      = "(", letter-string , ")" ;

gender               = "m" | "f" | "n" | "c", "."