Ubuntu which locale




















Asked 9 years, 10 months ago. Active 2 years, 9 months ago. Viewed k times. Improve this question. Dark Star1 Dark Star1 1 1 gold badge 4 4 silver badges 9 9 bronze badges. Add a comment. Active Oldest Votes. Run the command locale - it should show your current locale. Improve this answer. Community Bot 1. Savvas Radevic Savvas Radevic 7, 2 2 gold badges 35 35 silver badges 47 47 bronze badges. Jus a quick question. Does the system need to be restarted for changes to take effect?

Try rebooting, maybe it's required for server services. DarkStar1 About restarting the system, I had to restart. Show 4 more comments. Abhimanu Kumar Abhimanu Kumar 1 1 silver badge 2 2 bronze badges. Just run the following command to generate a locale for the region you need:. Then update your locale to add the generated locale to the list of installed locales this will not make it an active locale :.

Maybe you need system messages to be in English, but the time and date need to be in a European format. Luckily, that and a lot more is all possible. There is a list of variables that you can set individually by using either method shown earlier.

If you change your locale by editing the file, then just add the value to a new line for each new value. And when setting them using the command, just append the other values to the end of the command. Here are a few useful variables to know:. If you liked this post, feel free to share it with your friends by using the social media share shortcuts, or simply leave a comment below. Three question marks are a placeholder for information that is lacking.

Introduction Locales customize programs to your language and country. When you installed Ubuntu, you answered some simple questions such as specifying your country and language. Ubuntu used the answers to those questions, in part, to choose a suitable locale for your installation. The basic functionality is provided by the locales package, which is installed by default. Most users want a single locale to be used for all aspects of their session.



0コメント

  • 1000 / 1000