Submitter
SUPPORT TOPIC File Information
- Submitted: Dec 09 2009 06:58 PM
- Last Updated: Dec 09 2009 06:58 PM
- File Size: 4.87KB
- Views: 3023
- Downloads: 31
Download Update IPB External Translations
Description:
---------------
Simple php script to UPDATE any PREVIOUSLY (externally) translated language files from an older IPB version for a newly released IPB version.
Reads all *.php and *.js language files from "translate" folder, replacing any (translated) language bits found from the corresponding file in "translate/old_translation" folder.
Results are finally written to "translate/new_translation" folder (same filename).
New (untranslated) strings are added at the END of each file, so they can be immediately detected when viewing/editing each file!
One can then examine the output files, make any necessary edits/additional tranlations and finally copy ALL files from "translate/old_translation" to "translate" so that they can be re-imported to the database from the ACP.
How to run:
---------------
1) ACP>Look&Feel>Manage Languages : Activate "External Translation" for your new language. An external translation session will start and language files will be placed in "translate" folder under IPB root folder.
2) Place "update_translation.php" file at IPB root folder.
3) Create two new folders: "translate/new_translation" and "translate/old_translation"
4) Place any PREVIOUSLY translated files from a previous IPB version at folder "translate/old_translation".
5) Run php script (from commandline or from web)
6) Examine the (output) files at "translate/new_translation" and translate any untranslated strings (they are at the end of each file).
7) When finished editing, copy the files from "translate/old_translation" to "translate".
8) Re-import the translated files from the ACP using the "External translation" tool.
Note:
------
SPECIAL strings that DO NOT exist in ENGLISH (they NEED to be added ONLY in languages OTHER than english e.g.: 'calendar_display_title', 'blog_display_title', etc in core_public_global.php) are NOT copied from old translations.
You need to add these language bits manually at the end!
---------------
Simple php script to UPDATE any PREVIOUSLY (externally) translated language files from an older IPB version for a newly released IPB version.
Reads all *.php and *.js language files from "translate" folder, replacing any (translated) language bits found from the corresponding file in "translate/old_translation" folder.
Results are finally written to "translate/new_translation" folder (same filename).
New (untranslated) strings are added at the END of each file, so they can be immediately detected when viewing/editing each file!
One can then examine the output files, make any necessary edits/additional tranlations and finally copy ALL files from "translate/old_translation" to "translate" so that they can be re-imported to the database from the ACP.
How to run:
---------------
1) ACP>Look&Feel>Manage Languages : Activate "External Translation" for your new language. An external translation session will start and language files will be placed in "translate" folder under IPB root folder.
2) Place "update_translation.php" file at IPB root folder.
3) Create two new folders: "translate/new_translation" and "translate/old_translation"
4) Place any PREVIOUSLY translated files from a previous IPB version at folder "translate/old_translation".
5) Run php script (from commandline or from web)
6) Examine the (output) files at "translate/new_translation" and translate any untranslated strings (they are at the end of each file).
7) When finished editing, copy the files from "translate/old_translation" to "translate".
8) Re-import the translated files from the ACP using the "External translation" tool.
Note:
------
SPECIAL strings that DO NOT exist in ENGLISH (they NEED to be added ONLY in languages OTHER than english e.g.: 'calendar_display_title', 'blog_display_title', etc in core_public_global.php) are NOT copied from old translations.
You need to add these language bits manually at the end!
Other files you may be interested in ..
- 3,050 Total Files
- 52 Total Categories
- 513 Total Authors
- 584,107 Total Downloads
- Youtube Videos In Profile Latest File
- -RAW- Latest Submitter
31 user(s) are online (in the past 30 minutes)
10 members, 17 guests, 2 anonymous users
Con, MSN/Bing (1), Google Mobile (1), +e-Novator, -Seven-, Duke_, +Douglas Daniel, +Tom Wright, +Chad Hunt, +gui1porpis, +Kai Uwe Pel, +Aaron McPherson










