[BUGFIX] Properly handle translation file detection