/*===========================================================================
 *
 * Class CSrEspFile Method - bool LoadStringFiles (pCallback);
 *
 *=========================================================================*/
bool CSrEspFile::LoadStringFiles (CSrCallback* pCallback) 
{
	bool Result;

	Result  = LoadStringFile(m_LStringFile,  CreateSrStringFilename(m_Filename, "STRINGS"),   pCallback);
	Result &= LoadStringFile(m_DLStringFile, CreateSrStringFilename(m_Filename, "DLSTRINGS"), pCallback);
	Result &= LoadStringFile(m_ILStringFile, CreateSrStringFilename(m_Filename, "ILSTRINGS"), pCallback);
  
	return Result;
}
void LocalizationSystem::InitWithDirectory(const String &directoryPath)
{
    this->directoryPath = directoryPath;
#ifdef __DAVAENGINE_IPHONE__
	LocalizationIPhone::SelecePreferedLocalizationForPath(directoryPath);
#endif
	LoadStringFile(langId, directoryPath + "/" + langId.c_str() + ".yaml");
}