Closed (fixed)
Project:
Localization update
Version:
6.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
19 Feb 2010 at 13:52 UTC
Updated:
19 Jan 2016 at 15:46 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
jose reyero commentedThe module will use the localize.drupal.org server by default, everything will be autoconfigured after fetching the main server file, http://ftp.drupal.org/files/translations/l10n_server.xml
New servers can be defined by the module info file or by additional modules.
Check notes in the code for how to add a new server from module.info file http://drupalcode.org/viewvc/drupal/contributions/modules/l10n_update/l1...
Other modules can define new servers too by implementing hook_l10n_update_servers(). See http://github.com/jreyero/atrium_features/blob/master/atrium_translate/a...
Comment #2
guillaume.messonnier commentedThanks for your help. I will study your links :)
Comment #3
sutharsan commentedThe module's documentation will be updated with to answer this question. You have (currently) two options:
* Write a module that implements hook_l10n_servers() With this you can set the translation server name and url for all projects on the site.
* Add 'l10n_server' and 'l10n_url' definitions to the .info file of a project to override the server settings for this project only.
Comment #4
EugenMayer commentedplease read the code...
for the info file:
l10 server=..
l10 url=..
l10 path=..
so no _
Comment #5
sutharsan commentedYep, you are right. In the current release you will find a README.txt file with this documented.
Comment #7
frederickjhJust in case anyone else hits this issue while searching for the error message and finds this issue like me, the adress of the localization server for the Drupal.org server needs to be: https://localize.drupal.org/ including the trailing slash (/). Otherwise you will get the error message about it being invalid.