parameters: (intl_dir_path: str, core_name: str, keyword_string_dict: dict)
return_statement: return files
docstring: Creates '<core_name>.h' files in 'intl/_<lang>/' containing the macro name & string combinations.
  
     :param intl_dir_path: Path to the intl directory.
     :param core_name: Name of the core, used for the files' paths.
     :param keyword_string_dict: Dictionary of the form { '_<lang>': { 'macro': 'string', ... }, ... }.
     :return: Dictionary of the form { '_<lang>': 'path/to/file (./intl/_<lang>/<core_name>.h)', ... }.
docstring_summary: Creates '<core_name>.h' files in 'intl/_<lang>/' containing the macro name & string combinations.
docstring_tokens: Creates <core_name > . h files in intl / _<lang > / containing the macro name & string combinations .
function: def create_msg_hash(intl_dir_path: str, core_name: str, keyword_string_dict: dict) -> dict:
     """Creates '<core_name>.h' files in 'intl/_<lang>/' containing the macro name & string combinations.
  
     :param intl_dir_path: Path to the intl directory.
     :param core_name: Name of the core, used for the files' paths.
     :param keyword_string_dict: Dictionary of the form { '_<lang>': { 'macro': 'string', ... }, ... }.
     :return: Dictionary of the form { '_<lang>': 'path/to/file (./intl/_<lang>/<core_name>.h)', ... }.
     """
     files = {}
     for localisation in keyword_string_dict:
        path = os.path.join(intl_dir_path, core_name)  # intl/<core_name>/
        files[localisation] = os.path.join(path, localisation + '.h')  # intl/<core_name>/_<lang>.h
        if not os.path.exists(path):
           os.makedirs(path)
        with open(files[localisation], 'w', encoding='utf-8') as crowdin_file:
           out_text = ''
           for keyword in keyword_string_dict[localisation]:
              out_text = f'{out_text}{keyword} {keyword_string_dict[localisation][keyword]}\n'
           crowdin_file.write(out_text)
     return files
function_tokens: def create_msg_hash ( intl_dir_path : str , core_name : str , keyword_string_dict : dict ) -> dict : files = { } for localisation in keyword_string_dict : path = os . path . join ( intl_dir_path , core_name ) # intl/<core_name>/ files [ localisation ] = os . path . join ( path , localisation + '.h' ) # intl/<core_name>/_<lang>.h if not os . path . exists ( path ) : os . makedirs ( path ) with open ( files [ localisation ] , 'w' , encoding = 'utf-8' ) as crowdin_file : out_text = '' for keyword in keyword_string_dict [ localisation ] : out_text = f'{out_text}{keyword} {keyword_string_dict[localisation][keyword]}\n' crowdin_file . write ( out_text ) return files