I know it's of course a dispute whether or not to support foreign languages on StackOverflow. However, my question is a bit different. This question for example is in English, but has code with comments and identifiers in a foreign language. This limits the ability for people to leave answers.
Despite the fact that the example question I linked is poor regardless of language barrier, how should we [the users] handle such questions? Should we...
- Accept them into StackOverflow and try to translate them?
- Cast close votes because we cannot understand to answer?
- Ask the OP to translate it to English for us?
- Wait for someone else to come translate it for us?
The same also applies when the code its self includes identifiers in a foreign language. In case this original question I linked gets deleted, here's the source from that question:
procedure TForm1.Button1Click(Sender: TObject);
var
X: Integer;
begin
for x := 1 to 5 do
if Sender = Botones[x] then //Valida el Boton que provoco el evento
begin
Codigo := x; //Captura la posicion donde se eonctro el objeto que generó el evento
// ShowMessage(IntToStr(x));
Exit; //sale del bucle
end;
end;