Wordpress - Custom Theme Development
You want to make your WordPress theme fully translation-ready. Which combination of steps is correct?
A) Wrap all user-facing strings with
_e() or __(), load text domain in after_setup_theme, and place translation files in /languages folder.
B) Use _e() only, load text domain in init hook, and place translation files in theme root.
C) Wrap strings with __(), load text domain in wp_loaded hook, and place translation files in /lang folder.
D) Use _e() and __() without loading text domain, place translation files anywhere.