📜  locale_translation_projects_alter - CSS 代码示例

📅  最后修改于: 2022-03-11 14:47:48.502000             🧑  作者: Mango

代码示例1
function hook_locale_translation_projects_alter(&$projects) {

  // The translations are located at a custom translation sever.
  $projects['existing_project'] = array(
    'info' => array(
      'interface translation server pattern' => 'http://example.com/files/translations/%core/%project/%project-%version.%language.po',
    ),
  );
}