Underpin-WP / underpin-plugin-boilerplate

7 stars 1 forks source link

Implement translation logic #36

Open alexstandiford opened 4 years ago

alexstandiford commented 4 years ago

Translation strings should probably be baked-into a method, just like dir() and url(). Something like text_domain(), or something.

alexstandiford commented 4 years ago

This would also make it possible for $name and $description to be translated without running it inside of a constructor as long as #24 is done.