I am working on a plugin for myself, so, it's totally useless to load textdomain. But most of codes I copied from others are using the __(' ','')
I copied the codes from several plugins. So, even if I load textdomain, it's going to be useless as well,posibly slow down the performence.
My question is-- What's going to happen when WP read those __(' ','') without a textdomain loaded ?
Will it become a problem?
|
|
||||
|
|
|
I've actually been in the exact situation you're in before, all you need to do is drop the |
|||||
|
|
If you are not localizing your theme/plugin, then these functions are quite useless. Their main purpose is to search through the localization module for translated text. To answer your question, it will not become a problem I don't believe, but is pretty useless if you are not translating your theme or plugin into a different language - but somebody else might want to if they get their hands on your plugin/theme, so it is good to include if your product is going out to the public. See here for more info on these: http://codex.wordpress.org/Translating_WordPress#Localization_Technology |
|||
|
|