From: Fredrik J. <sqm...@fi...> - 2005-03-05 21:34:22
|
>>> Calendar name: When personal calendar for a user does not exist, I >>> want to be sure that it is created with its name translated: "Persona= l >>> Calendar for %s" (%s is the username) >> >> >> This might be a problem. It was for me at least. Why? Because I create= d >> my calendar before starting to translate the plugin. Since the string = is >> in saved in English it stays in English, regardless of any language >> changes. It took me a couple of minutes to figure it out. > > > Huh. It isn't OK to remove it from the calendar, but it might be > possible to grep for that string in the calendar name, and when found, > translate it....? Yes? No? In that case you have to grep for it in any possible language, and you still not going to be home free, since you don't know which language is used when creating the file, if that language is still available and the string the same since translation files might be updated, and you don't know which language are in use right now or even in the installation. If you always store the string in English, it should work though. Why do you have to store the string at all? Is it for Ical compability? Sincerely, Fredrik. |