Jump to content

ngram

Friends
  • Joined

  • Last visited

  1. KiwiGym started following ngram
  2.    ngram reacted to a post in a topic: When will the CCS be released?
  3. ngram replied to boon79's post in a topic in Feedback
    New version 1.0.1 attached with only one change to get rid of the "Out of date" translated entries: Now inserts/updates the "word_custom_version" field from version number found in "word_default_version" fields for all inserted/modified entries. To update the new translations (e.g. for 3.0.1) from the previous cache files ( e.g. for 3.0.0, assuming they contain up-to-date information for this version), you have to: a) copy your (translated) cached files for the previous version to cache/lang_cache/<id of foreign language>/prev_version b) DELETE ALL entries for the foreign language from IPB database (e.g. by running a "DELETE FROM `ibf_core_sys_lang_words` WHERE lang_id=<id of foreign language>" query OR (if you don't have access to MySQL/phpmyadmin by deleting the foreign language and re-creating it-although the latter is not very nice because the <id of foreign language> will change!) c) Install the hook and Go to "Manage Languages" d) Uninstall the hook (to avoid running it again) I am aware that this procedure is probably considered "quite unorthodox" according to IPB staff, but it works fine for me and I think it facilitates translation updates and team work for translating IPB cache files(instead of using ACP). hookUpdateTranslations.xml
  4. ngram replied to boon79's post in a topic in Feedback
    I had a similar problem here, and since I got no answer to my post and after seeing the recently posted "Synchronize Wordpacks for IPB 3.0 RC1 (v 1.0.0)" Hook, I decided to modify it, so that I can reuse my old IPB2.3.6 board translations. During the process, I saw that "Synchronize Wordpacks" required a lot of queries, so I decided to change it a bit, by using php arrays instead: probably this makes it a bit faster. I could not avoid multiple insert or update queries though: I really don't know how to do batch (array) insert/update queries in IPB style(if this is possible somehow). Instructions are provided as comments in the start of the file of the hook. The Hook did a very nice work for me and updated my previous IPB2.3.6 translation! Send your comments/questions here (or to the other thread) or and if some of you find it useful, I can upload it to the Downloads section. hookUpdateTranslations.xml