Creating a locale from scratch is something that is rarely needed. The same approach as in the Creating a New Locale Based on a System Locale can be used to create a locale from scratch. Refer to the localedef(1), locale(7), extensions(7) and charmap(7) man pages for more detailed information about locales and options available for the localedef, charmap and extension source files.