Support » Plugin: Admin Language Per User » database fields seems to be mixed up

  • Resolved symisz

    (@symisz)


    hi, i like your plugin and use it for every site i make now.
    a minor thing i saw when viewing my admin meta info, it seems like the two language fields are mixed up. maybe i’m wrong however…

    the field meta_key “locale” is set to “en_US” and
    the field meta_key “admin_language: is set to “nl_NL”

    my admin language is English however and my site language is Dutch (nl_NL).
    so shouldn’t locale be set to nl_NL and admin_language set to en_US, as in the right fields?

    • This topic was modified 2 years ago by symisz.
    • This topic was modified 2 years ago by symisz.
Viewing 1 replies (of 1 total)
  • Plugin Author unclego

    (@unclego)

    Meta_key “locale” are native WordPress since 4.7.
    Meta_key “admin_language” are this plugin per user language setting.

    Both do the same thing, so they should have same value.

    Locale from wp_usermeta table aren’t site locale. Site language is defined in wp_options table.

Viewing 1 replies (of 1 total)
  • The topic ‘database fields seems to be mixed up’ is closed to new replies.