To reproduce:
- Translate Oakland, California from English to Polish. (Important: When I tested this, I used this revision. See the explanation below.)
- Try to adapt the first infobox using the template tool (available starting from this patch; usable at the time of this writing at the cx2 testing site).
- Observed: the template card says "Infobox settlement (!-- See the table at Template:Infobox settlement for all fields and descriptions of their usage. --) Not available in polski"
- Expected: the template card is supposed to say "Infobox settlement Miejscowość infobox"
If you try to do the same with the article Hoboken, New Jersey, this will work as expected.
Miejscowość infobox is the template in the Polish Wikipedia that corresponds to Infobox settlement.
Explanation: The article [[Oakland, California]] has an HTML comment immediately after the name of the template in the transclusion:
{{Infobox settlement <!-- See the table at Template:Infobox settlement for all fields and descriptions of their usage. --> |name = Oakland, California
As opposed to Hoboken, New Jersey:
{{Infobox settlement |name = Hoboken, New Jersey
Tagging Parsoid — I suspect that it's related. If not, please remove the tag.
Probably related: T150476: An HTML comment after a template name in a transclusion appears in VisualEditor's popup