Jump to content

PS 1.7.8.1., get translation string from ISO.php before the first translation


Holoweb

Recommended Posts

Hello. I use custom scripting to generate LANG.php files for some modules that hold my content over the website. The problem i have is this:

  • I create a .TPL file with translatable strings
  • I go to translations and i add one translation for my translatable strings manually
  • This generates unique numeric strings within LANG.php files in the module
  • Then i parse data from this LANG.php with my spreadsheet (it checks for the translation i added manualy and it connect the proper row with the numeric string) and based on that, my script generate the same PHP files with translations for all my 23 languages and dump them into my repository.

Its pretty straightforward process, but i would like to skip somehow the process on translating my strings manually for the first time to generate the numeric string that i need for feeding larger pile of data. So my question is - is there any method or way how to generate these numeric strings for translations directly? Lets say i make my .TPL files in ENG, so one method would be to dump that 1:1 to eng?

Thank you!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...