Support » Plugin: WCFM - Frontend Manager for WooCommerce along with Bookings Subscription Listings Compatible » language de_DE_formal falls back to us_US (not to de_DE)

  • In some countries like Germany there are two locales with slightly different translations.
    The standard ‘de_DE’ and a more formal translation ‘de_DE_formal’.
    In Business most companies use the formal language so most of the shops use a wordpress install with the ‘de_DE_formal’ translation.

    Your plugin brings a ‘de_DE’ translation – but no fall back option from ‘de_DE_formal’ to ‘de_DE’.
    Unfortunately the fall back option is english.

    Usually Plugins bring a mapping table for the locales -> makes things easier.
    If your looking for inspiration how to code this – the paypal plugin in woocommerce is a good start:
    https://github.com/woocommerce/woocommerce-gateway-paypal-express-checkout/blob/master/includes/class-wc-gateway-ppec-settings.php#L25-L48

    -> this bug is in wc-frontend-manager and wc-multivendor-marketplace
    and probably in the others too …

    But thanks a lot for your plugins. Our tests are very promising.

  • The topic ‘language de_DE_formal falls back to us_US (not to de_DE)’ is closed to new replies.