Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello,
This module is a wonderful project ! With the others modules likes Localization Server and Localization Client, we can install a very good infrastructure...
But, to do that, I need some help...
2 questions :
1/ How to configure the address of the l10n server ?
2/ What modules can I install and configure on my l10n server to provide translation updates ?
Thanks for your help,
Guillaume.
Comment | File | Size | Author |
---|---|---|---|
#7 | Address_of_localization_server_to_use.png | 171.52 KB | frederickjh |
Comments
Comment #1
Jose Reyero CreditAttribution: 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 CreditAttribution: guillaume.messonnier commentedThanks for your help. I will study your links :)
Comment #3
Sutharsan CreditAttribution: 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 CreditAttribution: EugenMayer commentedplease read the code...
for the info file:
l10 server=..
l10 url=..
l10 path=..
so no _
Comment #5
Sutharsan CreditAttribution: 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.