I've heard that is possible to build customized versions of Ubuntu in different languages. What are these and how can I make one?
What is an Ubuntu localized image?Due to space restrictions, the official Ubuntu installation CDs (also known as ISO images) that can be downloaded from ubuntu.com contain only a handful of the many languages in which Ubuntu is available. Any additional languages can then be downloaded during or after the installation. Localized images are customized versions of the original media, which are modified to include the translation of a particular language or other modifications that are relevant to a particular location. They make it possible to have native language support upon installation and without the need of a working Internet connection. In addition to the language, they also enable customizing other aspects of Ubuntu to make it more relevant to a particular culture or region. How can I create a localized image?Set up the tools Set up a defaults package The next step is to create a defaults package with all the customizations for your language. This package will be used as a template containing the parameters to build the final image. Now run the build script to create the default package:
Remember to substitute At this point you can modify all the relevant settings to your locale in the .txt files in that directory. They are all documented and contain examples. Build the defaults package What you created in the previous step is a source package, which you now need to build in order to make it an installable package. Now run the following command to build the package:
If all goes well, you'll have a package with a Build your ISO image from the local package Now run the command to create the image. You will need a working Internet connection and a couple of GB free to be able to run the command. This will take some minutes to complete-
The resulting image is the one with the .iso extension Note: as an alternative to using a local package, you can set up a PPA and use the following command (this example assumes you've named your package ubuntu-defaults-ca in the PPA):
Check out the man page to learn about additional options Test Do a local test of your image (e.g. you can install it in a virtual machine with Virtualbox) Finally, upload the image on a public location for everyone to download and test. That's it! Example 1: creating a localized image for Catalan from a packageAssuming all tools are installed, we can just run the commands to create a localized ISO for Catalan-speaking regions:
At this point we modify the required files to install the Catalan language packs and select the Catalan keyboard. We modify the following files:
And then we continue building the defaults package and the image:
Example 2: creating a localized image for Catalan from a PPAThis example assumes we've already created a PPA with a defaults package, so the only thing we'll need to do will be to run the command to respin the ISO:
|
||||
|
|