-
-
Notifications
You must be signed in to change notification settings - Fork 12.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why remove i18n support for git? #31980
Comments
An i18n version of Not every options should be deleted. Create a |
Out of ~81.000 installs in the last month, 16 were passing |
I won't comment on the option removal here but |
There's no maintaining. It just sits there, untested by CI or put into bottles. It's not hurting anything. |
Closing this as comments on the decision to remove options are better directed at the original PR or Issue. |
You guys can not just remove That I know I think why that rare people install And I know that other prebuild I still insist do not remove If you don't like this option, why not build with i18n as default like git official website, and add a option |
You could make a pull request to add it as a parameter that's always used. |
I assume, this change is the reason why I started noticing this |
If the issue is getting reported and fixed upstream, this is good news! |
The issue is not being fixed upstream (in Git) because it's not specific to Git. The same behavior is observed in other commands installed by |
Homebrew does not do anything specific with gettext. However, it is weird, because my languages are set up in macOS so that 1 = French, 2 = English, and I correctly get the French messages from gettext-linked apps. |
Indeed, the problem is specific to English being the first language, as if it's somehow special-cased to be ignored. It could be some underlying Apple API doing the special-casing upon which |
Look at |
I totally agree with @moonfruit that removing --with-gettext option was a mistake. But another mistake happened and gettext support became mandatory. It affects badly if your system has one or more languages. For example, I have en_RU locale and my git output became Russian. That's not an option for me and I can't help with it in a normal way. I don't want to use LC_LANG=en_US in my bash_profile because it will affect everything in my system, I don't want to make an alias like git="LC_LANG=en_US git" either. Another point to return With all the above I insist on returning --with-gettext flag back because it is the only way (designed by git authors) to use English localisation in multi-language system. |
I agree that current situation is undesirable for many users and hard to work around. Many people do specify a secondary non-en language and get an unexpected git localisation not in accordance with their preference. I think amount of people affected greatly exceeds amount of people preferring to use localised git. Until upstream supports better configuration this should be reverted back to an option for those who actually want localisation. |
|
Mentioned earlier, the issue was reported to Git, but it was observed that the problem was not specific to that project; (It's possible, I suppose, that |
It seems this problem isn't new, and certainly isn't specific to Git. A similar report was made against |
The sad thing is it works perfectly in git bundled in Xcode tools and other distributions, with this combination of system language and locales (the same as @storoj has). It used to work in brew as well but now I just had to uninstall it and reverted to the system one. |
Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.
brew install
(orupgrade
,reinstall
) a single, official formula (not cask)? If it's a generalbrew
problem please file this issue at Homebrew/brew: https://github.com/Homebrew/brew/issues/new/choose. If it's abrew cask
problem please file this issue at https://github.com/Homebrew/homebrew-cask/issues/new/choose. If it's a tap (e.g. Homebrew/homebrew-php) problem please file this issue at the tap.brew update
and can still reproduce the problem?brew doctor
, fixed all issues and can still reproduce the problem?brew gist-logs <formula>
(where<formula>
is the name of the formula that failed) and included the output link?brew gist-logs
didn't work: ranbrew config
andbrew doctor
and included their output with your issue?To help us debug your issue please explain:
Use option
--with-gettext
to enable git i18n support.Option
--with-gettext
has been deleted by f710a13Option
--with-gettext
worked like old times.brew install
commands)brew install git --with-gettext
The text was updated successfully, but these errors were encountered: