public int getLanguageID( TLanguageFile checkFile )
  {
    int back = UNDEFINED_LANG ;

    if ( checkFile != null )
    {
      if (checkFile.hasLanguageExtension() )
      {
        boolean found = false ;
        int t = 0 ;
        int len = langVersions.size() ;
        while ( ( !found ) && ( t < len ) )
        {
          if ( checkFile.isSameVersion( ( TLanguageFile ) langVersions.get( t ) ) )
          {
            found = true ;
            back = t ;
          }
          else
          {
            t++ ;
          }
        }
      }
      else  // no extension => default language
      {
        back = DEFAULT_LANG ;
      }
    }
    return back ;
  }