Skip to main content

Please, how I can display just some languages in Geonetwork?
I edit thes files, but I don't see any change in the dropdown menu to select the language, In fact , I want just those languages: French, English and Arabic, but actually I see all languages that are by default in Geonetwork.

config-gui.xml

    <languages>
        <ara/>
        <eng/>
        <fre/>     
    </languages>

js/configCatCatControllers.js:

    $scope.langs = {'eng': 'en', 'fre': 'fr', 'ara': 'ar'};
    $scope.langLabels = {'eng': 'English', 'fre': 'Français', 'ara': 'Arabe'};
    

web-inf/config-spring-geonetwork.xml

    <util:set id="languages" value-type="java.lang.String">
       <value>ara</value>
       <value>eng</value>
       <value>fre</value>
    </util:set>

Please, how I can display just some languages in Geonetwork?
I edit thes files, but I don't see any change :

config-gui.xml

    <languages>
        <ara/>
        <eng/>
        <fre/>     
    </languages>

js/configCat.js:

    $scope.langs = {'eng': 'en', 'fre': 'fr', 'ara': 'ar'};
    $scope.langLabels = {'eng': 'English', 'fre': 'Français', 'ara': 'Arabe'};

web-inf/config-spring-geonetwork.xml

    <util:set id="languages" value-type="java.lang.String">
       <value>ara</value>
       <value>eng</value>
       <value>fre</value>
    </util:set>

Please, how I can display just some languages in Geonetwork?
I edit thes files, but I don't see any change in the dropdown menu to select the language, In fact , I want just those languages: French, English and Arabic, but actually I see all languages that are by default in Geonetwork.

config-gui.xml

    <languages>
        <ara/>
        <eng/>
        <fre/>     
    </languages>

js/CatControllers.js:

    $scope.langs = {'eng': 'en', 'fre': 'fr', 'ara': 'ar'};
    $scope.langLabels = {'eng': 'English', 'fre': 'Français', 'ara': 'Arabe'};
    

web-inf/config-spring-geonetwork.xml

    <util:set id="languages" value-type="java.lang.String">
       <value>ara</value>
       <value>eng</value>
       <value>fre</value>
    </util:set>
Source Link

How I can disable some languages in Geonetwork

Please, how I can display just some languages in Geonetwork?
I edit thes files, but I don't see any change :

config-gui.xml

    <languages>
        <ara/>
        <eng/>
        <fre/>     
    </languages>

js/configCat.js:

    $scope.langs = {'eng': 'en', 'fre': 'fr', 'ara': 'ar'};
    $scope.langLabels = {'eng': 'English', 'fre': 'Français', 'ara': 'Arabe'};

web-inf/config-spring-geonetwork.xml

    <util:set id="languages" value-type="java.lang.String">
       <value>ara</value>
       <value>eng</value>
       <value>fre</value>
    </util:set>