Loader::build_and_save_translations( string $language_dir, string $plugin_domain, string $locale )

Combine and save translations for a specific locale.


Description Description

Note that this assumes \WP_Filesystem is already initialized with write access.


Parameters Parameters

$language_dir

(Required) Path to language files.

$plugin_domain

(Required) Text domain.

$locale

(Required) Locale being retrieved.


Top ↑

Source Source

File: packages/woocommerce-admin/src/Loader.php


			


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.