On Fri, Oct 31, 2008 at 03:51:51PM +0900, Takao Fujiwara - Tokyo S/W Center wrote:
>> When you say "install() has a problem to disable the compatibility of C >> gettext()." Why is this a problem for us? When would we want to disable >> it? Can you give me a concrete example in the code please, I do not >> understand what you are saying. > > I'm suggesting to use gettext.textdomain() as it should be better. But you're not actually using the benefit that it provides. Nor do you explain what you'd use that feature for. > The problem is to consist the usage in the codes. "Consist the usage" doesn't make any sense. > Otherwise, why is it a problem to follow textdomain()/bindtextdomain()? The problem isn't with the usage of those functions, it's that by using them, we now have to add code to every single module in the codebase to add _ to the namespace. The advantage of using gettext.install() is that it does this for you. > If we don't consist the gettext usage, I think there is no problem in this > thread. Again, "consist the gettext usage" doesn't make any sense. > I think I have already shown the example. It's not an IPS code. You've shown a hypothetical example but not justified its use. I can't think of a reason why you'd *want* to set the domain to a derivation of the current domain. Either you rely on the domain having been set once at the start of the app or you use dgettext(). Danek _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
