CSS: locale_translation_projects_alter Example

By

CSS Example: This is the "locale_translation_projects_alter" Example. compiled from many sources on the internet by SimpleTutorials.org

locale_translation_projects_alter

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',
    ),
  );
}



* Summary: This "locale_translation_projects_alter" CSS Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!

Others