Unable to use nsExec::ExecToStack when there is redirection involved. ie: nsExec::ExecToStack mysql < insertlocale.sqlHave to use ant instead, which is fairly annoying
Unable to use nsExec::ExecToStack when there is redirection involved. ie: nsExec::ExecToStack mysql < insertlocale.sqlHave to use ant instead, which is fairly annoying
Now this actually works, inserts the language valuse if they dont already exist, however it will fail if the number of languages surpass 127, because the locale_id is a tinint(4) and will only go up to 127
Procedure to update locales table in database, calls insertlocalses repeatedly until all languages have been coveredTo add a new language, you nee only to add a line:insertLocal(language_iso_code, country_iso_code, description, direction)
sql code (for language pack) for a procedure to insert locales into the lams_supported_local if they dont already exist.This procedure is called by updateLocales.sql
sql code (for language pack) for a procedure to insert locales into the lams_supported_local if they dont already exist.This procedure is called by updateLocales.sql
Procedure to update locales table in database, calls insertlocalses repeatedly until all languages have been coveredTo add a new language, you nee only to add a line:insertLocal(language_iso_code, country_iso_code, description, direction)
Updater now unpacks all the llid language files for comlex activities into their respective foldersAll that is needed now is SQL procedures to add rows to the lams_supported_locale where the matching language doesnt existThen we're done for teh language pack