# Define Locales for this OS <% if @obj.nil? -%> os.<%= @name -%> do |locale| <% else -%> os.<%= @name -%> do |locale| <% end -%>

# The default locale for the OS. The Values are standard Locale values.
# They can also be prefixed with a specified encoding. If no encoding
# is specified then by default, it is 'UTF-8' (e.g.) 'en_US.UTF-8'
<% if @obj.nil? || @obj.default.nil? -%>
#locale.default   = 'en_US'
<% else -%>
locale.default    = "<%= @obj.default -%>"
<% end  -%>

# Additional locales that ought to be installed for this OS. Depending 
# upon the OS, the Installer will install additional language packs to 
# support these locales.
<% if @obj.nil? || @obj.supported.nil? -%>
#locale.supported = ['en_IN', 'en_GB']
<% else -%>
locale.supported =  <%= @obj.supported.to_s %>
<% end  -%>

<% if @obj.nil? -%> end <% else -%> end <% end -%>