rv = chromeRegistry->SelectLocale(UILocaleName.GetUnicode(), PR_FALSE);
rv = chromeRegistry->SelectLocale(UILocaleName.get(), PR_FALSE);
static nsresult InstallGlobalLocale(nsICmdLineService *cmdLineArgs){    nsresult rv = NS_OK;    nsCOMPtr<nsIChromeRegistry> chromeRegistry = do_GetService(kChromeRegistryCID, &rv);    if (NS_SUCCEEDED(rv)) {        nsXPIDLCString cmdUI;        rv = cmdLineArgs->GetCmdLineValue(UILOCALE_CMD_LINE_ARG, getter_Copies(cmdUI));        if (NS_SUCCEEDED(rv)){            if (cmdUI) {                nsAutoString UILocaleName;                UILocaleName.AssignWithConversion(cmdUI);                rv = chromeRegistry->SelectLocale(UILocaleName.GetUnicode(), PR_FALSE);            }        }        nsXPIDLCString cmdContent;        rv = cmdLineArgs->GetCmdLineValue(CONTENTLOCALE_CMD_LINE_ARG, getter_Copies(cmdContent));        if (NS_SUCCEEDED(rv)){            if (cmdContent) {                nsAutoString ContentLocaleName;                ContentLocaleName.AssignWithConversion(cmdContent);                rv = chromeRegistry->SelectLocale(ContentLocaleName.GetUnicode(), PR_FALSE);            }        }    }    return NS_OK;}