|
From: Jirka P. <fi...@us...> - 2002-06-14 07:52:28
|
> We have we started using underscores to prefix variable names? I did it only in indexes (keys) of STRING array. There were 2 reasons for= doing it. First reason was that I was adding many strings to en.php and I = want it to be better trackable in future, because some of them are in fact = doubling existing indexes (keys) in English, but for example in Czech they = differ. The second was that almost all of them are connected to queryform templat= es only. I wanted to prefix them with e.g. 'queryform_', but I wasn't decid= ed for sure. Maybe you (talking native English) are not able to see it, but this is ve= ry helpful for us (translating to another languages), when deciding on the = figure of the flexible word (English words are not flexible, but Czech word= s are) we will use. If this is not a big problem, I want to prefix indexes in STRING and TITL= E with underscores and some kind of shortened name of the template, when I = will add strings to en.php in the future and I think, if everybody will do = it the same way, it will help the translators. What do you think, is it a problem or not? If it is a problem, I will of = course rename that indexes (keys) in language files and in templates and wi= ll forget it. Please, tell me. Another thing I thought about yesterday is the number of indexes in STRIN= G array. It's growing and it may grow about ten or more times. I don't actu= ally know exactly if it will have some performance impact, what do you thin= k about it? Please post this also to 'localization list' and subscribe me there if yo= u want to start a dialogue about it. Have a nice day! Jirka Pech [We have two days parliament elections in our country today and tomorrow, s= o I may fall offline until monday.] |