twolfram
Fri 23rd Jun '00, 3:49am
Hi,
I just bought a vB license some days ago and started to translate it into German. I've about 60%..70% already translated.
I think vB is very fine, though this is the fist forum I ever installed. :) And moreover it's the first time I looked into PHP (though I know C/C++ and hence I already like PHP).
But it's not easy to translate vB into another language. I would like to mention some things related to the translation which perhaps could be a suggestion for one of the next major releases of vB:
All language dependent strings, symbols, etc. should be seperated from the templates.
There are a lof of templates, a lot of stuff is repeated (forum rules, strings like "Your Username" etc.). If something is changed in the future in the English original template it will be very difficult for someone to bring the German version up to date.
All language dependent strings should be also removed from the PHP code. Though most of the strings are in the templates there are still a number of strings in the PHP code, like "Never", "Opening", "Closing", e-mail headers in mail() instructions, etc. (I think also some "Yes"'s and "No"'s - have to check that).
Don't know if this is already possible somehow but I think it would be really useful if templates would be either generally fully PHP parsed or would at least support a feature to include other HTML files recursively (i.e. not just headers or footers with which I still have some problems anyway [1]). For example for my layout I had to change every top part of all templates (arround the $fivelinks) because it caused layout problems for me. I think it would be useful to put common stuff like this in common files so changes could be made just in one place.
If somebody would like to have my translated files drop me a line. But I'm not ready yet and I've made also some other changes for my own layout. But some big files I translated, like FAQ and vB Code explanation, could save you some time.
Thanks for listening,
Thomas Wolfram
PS:
[1] I also have problems to include other PHP files from the header/footer. I would like to include some web site global navigation bars around the vB templates using header/footer. But since the header/footer files are not putted out to the browser window directly but must be assigned to $header/$footer I don't know how to do that. Of course I cannot just use include() or require(). I managed to read HTML files into these variables using file() and join(). But I rather would like to have that these navigation bars are parsed by PHP, so that they can require() other PHP files etc.. But unfortunatly most PHP files output into the browser window and I don't know how to redirect it into a variable, if this is possible at all?
I just bought a vB license some days ago and started to translate it into German. I've about 60%..70% already translated.
I think vB is very fine, though this is the fist forum I ever installed. :) And moreover it's the first time I looked into PHP (though I know C/C++ and hence I already like PHP).
But it's not easy to translate vB into another language. I would like to mention some things related to the translation which perhaps could be a suggestion for one of the next major releases of vB:
All language dependent strings, symbols, etc. should be seperated from the templates.
There are a lof of templates, a lot of stuff is repeated (forum rules, strings like "Your Username" etc.). If something is changed in the future in the English original template it will be very difficult for someone to bring the German version up to date.
All language dependent strings should be also removed from the PHP code. Though most of the strings are in the templates there are still a number of strings in the PHP code, like "Never", "Opening", "Closing", e-mail headers in mail() instructions, etc. (I think also some "Yes"'s and "No"'s - have to check that).
Don't know if this is already possible somehow but I think it would be really useful if templates would be either generally fully PHP parsed or would at least support a feature to include other HTML files recursively (i.e. not just headers or footers with which I still have some problems anyway [1]). For example for my layout I had to change every top part of all templates (arround the $fivelinks) because it caused layout problems for me. I think it would be useful to put common stuff like this in common files so changes could be made just in one place.
If somebody would like to have my translated files drop me a line. But I'm not ready yet and I've made also some other changes for my own layout. But some big files I translated, like FAQ and vB Code explanation, could save you some time.
Thanks for listening,
Thomas Wolfram
PS:
[1] I also have problems to include other PHP files from the header/footer. I would like to include some web site global navigation bars around the vB templates using header/footer. But since the header/footer files are not putted out to the browser window directly but must be assigned to $header/$footer I don't know how to do that. Of course I cannot just use include() or require(). I managed to read HTML files into these variables using file() and join(). But I rather would like to have that these navigation bars are parsed by PHP, so that they can require() other PHP files etc.. But unfortunatly most PHP files output into the browser window and I don't know how to redirect it into a variable, if this is possible at all?