Jump to content

Is there a way to rename the 'default' language ?


Doc
 Share

Recommended Posts

hi,

I have 2 languages defined, default (fr) and english (en).

When I do :

$lg_id = $languages->get('en'); // get the english language
echo $page->myfield->getLanguageValue($lg_id);

It displays english, fine.

To display french I have to use 'default' :

$lg_id = $languages->get('default'); // get the french language

I'd rather have 'en' and 'fr' for example, is it possible ?

I watched in the admin section area but 'default' is apparently a field I can't modify.

Thanks

Edited by kongondo
code block
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...