Solved FreeBSD 12.2 localization issue

Every time I install FreeBSD, I would follow some steps to set locale to Turkish. First, I would add these lines to the end of the /etc/login.conffile:

Code:
turkce|Turkce Dil Destegi:\
    :charset=UTF-8:\
    :lang=tr_TR.UTF-8:\
    :tc=default:

Then, I would issue this command:

Code:
cap_mkdb /etc/login.conf


Then, I would add these lines to the /etc/profile file:

Code:
LANG=tr_TR.UTF-8; export LANG
MM_CHARSET=UTF-8; export MM_CHARSET

Then, I would change my shell to bash. And it worked all the time until I tried that on FreeBSD 12.2 for the first time.

Does anyone know why? What has changed? What should I do?
 
No problem. Please mark this thread as solved if it fixes the issue. That way other people that get bitten by this problem will find a resolution.
 
I won't have console access to the machine until Monday morning. We are stuck at home due to the pandemic. I cannot risk a reboot failure since people are using it.
 
Back
Top