Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #29783, comment 24


Ignore:
Timestamp:
06/30/2015 05:25:50 PM (11 years ago)
Author:
trialotto

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #29783, comment 24

    initial v1  
    55It surprises me how little attention is being paid to issues, related to a necessity to have an admin panel with a specific language, while having a different site language.
    66
    7 Naturally, a "quick fix" (in the form of a get_user_language() function) or even a "work-around" (in the form of symlinking .mo files) can be identified and implemented.
     7Naturally, a "quick fix" (in the form of a get_users_locale() function) or even a "work-around" (in the form of symlinking .mo files) can be identified and implemented.
    88
    99However, in my humble opinion, that is restrictive and not the proper way of doing things.
    … …  
    2121In addition, the get_locale() directive can be augmented with some (minor) lines of code, reading both the WPLANG and the WPADMINLANG and passing them on to the various php files using get_locale().
    2222
    23 This would be a simple, fast and more flexible (!) solution, not requiring any heavy adjustments of code and/or change of code of all (!) plugins and/or creation of a new get_user_locale() directive.
     23This would be a simple, fast and more flexible (!) solution, not requiring any heavy adjustments of code and/or change of code of all (!) plugins and/or creation of a new get_users_locale() directive.
    2424
    2525Maybe I am missing the point and/or some relevant information, but why does one not opt for the above or a similar solution?