Ignore:
Timestamp:
Jan 14, 2016, 10:25:47 PM (8 years ago)
Author:
chronos
Message:
  • Added: Support for translatable URLs. Now each language can have URL in its language.

This requires to all links inside web to use System->Link function which is responsible for translation.
All links need to be written in english so they can be translated to other language.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Translation/Translation.php

    r842 r843  
    3030    $this->System->RegisterPage('save.php', 'PageTranslationSave');
    3131    $this->System->RegisterPage('progress', 'PageProgress');
     32    $this->System->RegisterPage('translation-groups', 'PageTranslationGroups');
    3233    $this->System->RegisterPage('TranslationList.php', 'PageTranslationList');
    3334    $this->System->RegisterPage('LoadNames.php', 'PageLoadNames');
     
    4445      'Title' => T('Data source'),
    4546      'Hint' => 'Informace o překladových skupinách',
    46       'Link' => $this->System->Link('/TranslationList.php?action=grouplist'),
     47      'Link' => $this->System->Link('/translation-groups/'),
    4748      'Permission' => LICENCE_ANONYMOUS,
    4849      'Icon' => '',
Note: See TracChangeset for help on using the changeset viewer.