WordPress.org

Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #28197, comment 46


Ignore:
Timestamp:
05/08/2016 02:13:13 PM (6 years ago)
Author:
cvedovini
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28197, comment 46

    v1 v2  
    22> Using a translatable core string does not require any new files.
    33
    4 still, it's a new data that needs to be managed (I thought of new file because I imagined a new domain, I see now you're using "_x" in your example, not "__" , my bad)
     4still, it's a new data that needs to be managed (I thought of new file because I imagined a new domain, I see now you're using "_x" in your example, my bad)
    55
    66> To whole point of this new core functionality is to have a generic fallback for all plugins and themes. You are right, that having a core translation file named with the locale name would be OK for the WordPress core. But all plugins and themes, that do not have a correct lanuguage variant file, would fall back to English.