def _copy_globalization_resources(self):
rootDir = os.path.join(_topology_tk_dir(), "<STR_LIT>", "<STR_LIT>")<EOL>languageList = []<EOL>for dirName in os.listdir(rootDir):<EOL><INDENT>srcDir = os.path.join(_topology_tk_dir(), "<STR_LIT>", "<STR_LIT>", dirName)<EOL>if (os.path.isdir(srcDir)) and (dirName != "<STR_LIT>"):<EOL><INDENT>dstDir = os.path.join(self._tk_dir, "<STR_LIT>", "<STR_LIT>", dirName)<EOL>try:<EOL><INDENT>print("<STR_LIT>" + dirName)<EOL>os.makedirs(dstDir)<EOL><DEDENT>except OSError as e:<EOL><INDENT>if (e.errno == <NUM_LIT>) and (os.path.isdir(dstDir)):<EOL><INDENT>if self._cmd_args.verbose:<EOL><INDENT>print("<STR_LIT>", dstDir, "<STR_LIT>")<EOL><DEDENT><DEDENT>else:<EOL><INDENT>raise<EOL><DEDENT><DEDENT>srcFile = os.path.join(srcDir, "<STR_LIT>")<EOL>if os.path.isfile(srcFile):<EOL><INDENT>res = shutil.copy2(srcFile, dstDir)<EOL>languageList.append(dirName)<EOL>if self._cmd_args.verbose:<EOL><INDENT>print("<STR_LIT>" + res)<EOL><DEDENT><DEDENT><DEDENT><DEDENT>return languageList<EOL>
Copy the language resource files for python api functions

        This function copies the TopologySplpy Resource files from Topology toolkit directory
        into the impl/nl folder of the project.
        Returns: the list with the copied locale strings