If $translated[$message] is not set (because is a new string) it will throw

"Undefined index: <... $message ... >" !



probably the best is using

array_key_exists(...) and strlen (...) > 0

so no "inexistend key" bug, no problem with "0" string, and empty string will be evaluated as not translated (so pushed up, and it's right)