Differences from version 1 to 4



@@ -6,14 +6,16 @@

 * The strings for each language will be extracted from the bitweaver.org site, and the strings to be stranslated are both the strings for the project, as for the site bw.o.
 * There was a time where strings were picked up on accident, they arent needed but are still in the current master strings. some are being shipped into the R2B2 masters.php file.
 * if strings are removed, but are used by the system, they will be re-added to the masters.php file at that time (this means to me that the right strings are in there for all the "used" parts of bw.o, but if not called for, will not be added)
-* xing removed about 2350 of the probably unused strings, and i removed manually about 300.
+* xing removed about 2350 of the probably unused strings, and i removed manually about 1800. The Shoutbox and translated versions keep growing back though, in 0-9 there are a few of them back again after removal yesterday.
 * Getting bw to spit out a complete master file with al the -tra- and -tr- could be difficult
 * if you remove one of the master strings, the accociated translations are lost. There is no way of checking if this string is translated already, so we could keep those for an eventual merge
 
 !Proposed Solution:
 
 I think the best way to resolve this and provide better support to translators would be:
-# Create new masters.php file from the bw program checking all occurrances of -tr- and -tra-
+# Identify translations in templates and php files that should be cleaned up
+# Clean up the templates and php files so there is a minimum number of translations to be made
+# Create new masters.php file from the bw program checking all occurrances of -tr- and -tra- (how to do this? What about arguments to smarty functions that auto translate.)
 # check all translations for strings that match the ones that are used by bw
 # merge the matched translations into the language files created through the new masters
 # do spellcheck on the english masters

@@ -24,4 +26,16 @@

 # and try to get as much as possible languages up to 100%
 
 
-more to follow, have to work now
+After discussion on IRC, we came to the conclusion that this wasn't feasible to do before R2 release, so this would be something for R2.1. I'm looking into the strings atm, removed most of the German/Dutch/French/Russian/etc translation out of the masters, but the parts Shoutbox/Megaphone/arabic thingies keep coming back.
+
+There is a script attached to this page to help identifying php and templates in need of cleanup:
+{attachment id=766}
+
+This can be used to pull out the translated string from templates and php files. It can be run against the codebase with the following:
+
+find . -name "*.tpl" -or -name "*.php" | xargs php -n -q collect-tr.php
+
+The generated list should be combed to find places that we need some cleanup.
+
+
+
Page History
Date/CommentUserIPVersion
30 Sep 2007 (21:35 UTC)
WaterDragon62.163.47.1494
Current • Source
sikko82.95.56.1132
View • Compare • Difference • Source
sikko82.95.56.1131
View • Compare • Difference • Source