!Translation Restructuring

I was looking at the translation of the bitweaver project when i noticed there are a lot of strange strings included in the master file. Things like numerous instances of a message with variables, or strings like "X's shoutbox". There are even strings in other languages in there. This makes it more difficult for translators to translate the project, and the translator has no idea if everything is translated.

There was a discussion about this on IRC, where I found out that:
* 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.
* 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-
# 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
# diff the spellchecked version of the masters to the non-spellchecked vesion
# fix spelling errors in original .php and .tpl files
# make stats of each language available
# inform the translators of the easy way to translate,
# and try to get as much as possible languages up to 100%

more to follow, have to work now
Page History
30 Sep 2007 (21:35 UTC)
Current • Source
View • Compare • Difference • Source
View • Compare • Difference • Source