Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #52047, comment 4


Ignore:
Timestamp:
12/17/2020 07:26:19 AM (4 years ago)
Author:
aristath
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #52047, comment 4

    initial v1  
    1 The post-type label itself is translatable... Just not in the theme itself. I'll use WooCommerce products for this example but the same goes for any plugin that registers a post-type.
     1The post-type label is translatable... Just not in the theme itself. I'll use WooCommerce products for this example but the same goes for any plugin that registers a post-type.
    22If WooCommerce registers the `product` post-type then the label for that post-type is translatable in WooCommerce since it gets added with a label `__( 'Products', 'woocommerce' )`.
    33So the theme just re-uses the label registered. If that label is translated then it will show as translated.