parameters: (path, locale, dir_name)
return_statement: return
docstring: Uploads the specified localizable file to the translation system
docstring_summary: Uploads the specified localizable file to the translation system
docstring_tokens: Uploads the specified localizable file to the translation system
function: def export_localizable_file(path, locale, dir_name):
      """Uploads the specified localizable file to the translation system"""
      print("Exporting {0}".format(path))
  
      if not os.path.exists(path):
          raise FileNotFoundError(path)
  
      file_name = os.path.basename(path)
      file_ext = os.path.splitext(file_name)[1][1:]
  
      if file_name == "InfoPlist.strings":
          file_name = INFO_PLIST_DICTIONARY[dir_name]
  
      # Now upload the file
      upload_file(path, file_ext, locale, file_name)
      return
function_tokens: def export_localizable_file ( path , locale , dir_name ) : print ( "Exporting {0}" . format ( path ) ) if not os . path . exists ( path ) : raise FileNotFoundError ( path ) file_name = os . path . basename ( path ) file_ext = os . path . splitext ( file_name ) [ 1 ] [ 1 : ] if file_name == "InfoPlist.strings" : file_name = INFO_PLIST_DICTIONARY [ dir_name ] # Now upload the file upload_file ( path , file_ext , locale , file_name ) return