Answers.Body: <p>I think you should be ok to just copy the ca_ES file and rename it to whatever handle you like. Full instructions here: <a href="https://craftcms.com/knowledge-base/adding-additional-locales-in-craft-2#creating-custom-locales" rel="nofollow noreferrer">https://craftcms.com/knowledge-base/adding-additional-locales-in-craft-2#creating-custom-locales</a></p>
  <p>I had to do this myself for an Icelandic locale and it worked fine.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-08-11T14:12:38.437Z
Answers.Text: I did it this way, but then the locale name appears as "va_es". Where can I edit this language name?
Answers.UserDisplayName: Manuel González
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-08-11T14:13:39.730Z
Answers.Text: Ah yes, I remember this too... to change the name, you'll need to go into each of the locale files that you're using and add it as a new key in the `language` array.
Answers.UserDisplayName: James Smith
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-08-12T08:14:19.623Z
Answers.Text: it works, thanks!
Answers.UserDisplayName: Manuel González
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-08-11T10:04:21.757Z
Answers.LastActivityDate: 2020-08-11T10:04:21.757Z
Answers.UserDisplayName: James Smith
Body: <p>I have to develop a website under Craft CMS 2 and going to Locale Options I see I can add a language, but I need to use a language that is not included in the official codes for the representation of names of languages.</p>
  <p>There's a cultural and important question here for my client, because Valencian language is included into Catalan language under the code &quot;ca_ES&quot; but is frowned upon here. So, I want to use other code, for example, &quot;va_ES&quot;. How can I do this under Craft CMS 2?</p>
  <p>Thanks a lot.</p>
  
Tags: <localization><craft2>
Title: Use locale not included in Craft
ThreadText: # Use locale not included in Craft
  
  (Asked by: username_0 on 2020-08-11)
  
  I have to develop a website under Craft CMS 2 and going to Locale Options I see I can add a language, but I need to use a language that is not included in the official codes for the representation of names of languages.
  
  There's a cultural and important question here for my client, because Valencian language is included into Catalan language under the code "ca\_ES" but is frowned upon here. So, I want to use other code, for example, "va\_ES". How can I do this under Craft CMS 2?
  
  Thanks a lot.
  
  **Tags:** localization, craft2
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2020-08-11. Score: 1
  
  I think you should be ok to just copy the ca\_ES file and rename it to whatever handle you like. Full instructions here: <https://craftcms.com/knowledge-base/adding-additional-locales-in-craft-2#creating-custom-locales>
  
  I had to do this myself for an Icelandic locale and it worked fine.
  
  > **Comments:**
  > **username_0**: I did it this way, but then the locale name appears as "va_es". Where can I edit this language name?  
  > **username_1**: Ah yes, I remember this too... to change the name, you'll need to go into each of the locale files that you're using and add it as a new key in the `language` array.  
  > **username_0**: it works, thanks!  
  
  ---
  
  