I tried to add Arabic letters at the Browse page by using the below code 
but i did not succeeded,the Arabic Letters were not appearing at the Browse 
page.


The code which i tried is as below:-

else
        {
            // Create a clickable list of the alphabet
        List jumpList = jump.addList("jump-list", List.TYPE_SIMPLE, "alphabet");


            // browse params for each letter are all the query params
            // WITHOUT the second-stage browse value, and add STARTS_WITH.
  Map<String, String> letterQuery = new HashMap<String, String>(queryParamsGET);
            for (String valueKey : BrowseParams.FILTER_VALUE)
            {
                letterQuery.remove(valueKey);
            }
            letterQuery.put(BrowseParams.STARTS_WITH, "0");
   jumpList.addItemXref(super.generateURL(BROWSE_URL_BASE, letterQuery), "0-9");

            for (char c = 'A'; c <= 'Z'; c++)
            {
             letterQuery.put(BrowseParams.STARTS_WITH, Character.toString(c));
jumpList.addItemXref(super.generateURL(BROWSE_URL_BASE, letterQuery), Character
                        .toString(c));
            }

        //I HAVE ADDED BELOW CODE TO CREATE A BROWSE LIST FOR ARABIC TEXT

            // I HAVE CREATED A LIST FOR ARABIC CHARACTERS 
    List jumpList2 = jump.addList("jump-list2", List.TYPE_SIMPLE, "alphabet");

              // I HAVE CREATED A HASHMAP FOR ARABIC CHARACTERS 
      Map<String, String> ddQuery = new HashMap<String, String>(queryParamsGET);
            for (String valueKey : BrowseParams.FILTER_VALUE)
            {
                ddQuery.remove(valueKey);
            } 

            //I HAVE ADDED BELOW CODE TO CREATE A BROWSE LIST FOR ARABIC TEXT
            for (char d = 'ا'; d <= 'ى'; d++)

            {   
         ddQuery.put(BrowseParams.STARTS_WITH, Character.toString(d));
 jumpList2.addItemXref(super.generateURL(BROWSE_URL_BASE, ddQuery), Character
                        .toString(d));
            }  

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-community.
For more options, visit https://groups.google.com/d/optout.

Reply via email to