Good morning,

1. The messages.properties file is only used for the JSPUI. If you are
using the XMLUI then you need to edit the messages.xml file. If you are
building from source code then this file lives in
dspace-xmlui/src/main/webapp/i18n/messages.xml. The recommended best
practice is to copy that file to the modules directory and modify it there:
dspace/modules/xmlui/src/main/webapp/i18n/messages.xml. You can include
other files there as well for other languages, like messages_ua.xml,
messages_de.xml, etc. If a key does not exist for a language then the
default will be used from messages.xml.

2. I don't know.

3. You need to add a bean for type to
dspace/config/spring/api/discovery.xml, for example:

    <bean id="searchFilterType"
class="org.dspace.discovery.configuration.DiscoverySearchFilterFacet">
        <property name="indexFieldName" value="type"/>
        <property name="metadataFields">
            <list>
                <value>dc.type</value>
            </list>
        </property>
        <property name="facetLimit" value="10"/>
        <property name="sortOrderSidebar" value="COUNT"/>
        <property name="sortOrderFilterPage" value="COUNT"/>
    </bean>

And then add searchFilterType to the list of search filters and facets
elsewhere in the file (look for sidebarFacets). After that you need to do a
`dspace index-discovery -b` to re-index Discovery.

Hope that helps,

On Fri, Jan 29, 2021 at 5:06 PM István Molnár <[email protected]>
wrote:

>
> I've started to use DSpace 6.3  a few months ago and there are still 3
> problems I cannot solve.
> 1. I use it on 3 different languages, and it changes, but when I change
> the messages.properties file, and rebuild the dspace it uses the same
> values and keys.
> 2. I would like to add document type to change with languages too, but I
> cannot.
> 3. I would like to add the type facet on the main screen, but when I try
> it, the system collapses.
>
> Please give me some help and instruction.
> Waiting forward for your answer:
> Molnár István
>
> --
> All messages to this mailing list should adhere to the DuraSpace Code of
> Conduct: https://duraspace.org/about/policies/code-of-conduct/
> ---
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dspace-tech/b3769558-dc02-4f9d-80e4-56b2367873een%40googlegroups.com
> <https://groups.google.com/d/msgid/dspace-tech/b3769558-dc02-4f9d-80e4-56b2367873een%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Alan Orth
[email protected]
https://picturingjordan.com
https://englishbulgaria.net
https://mjanja.ch

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAKKdN4UJzDMEmsmayq_evHHCDMVMKHdbRs08FfcPH7gN83HJ%2BA%40mail.gmail.com.

Reply via email to