David Huynh wrote:
Em22 wrote:
  
Hello,
I am using exhibit 2.0 at my website http://sort.shareck.com/ar in
both languages English and Arabic, How can I change the language for
the below items to my (Arabic Language)?
- (Reset All Filters)
- grouped as sorted
- sorted by - then by...
- filtered from .... originally

and if there any other thing need to change ?
  
    
Emad,

Exhibit supports the following locales

    http://api.simile-widgets.org/exhibit/2.2.0/locales/

Overriding a locale for your own use is easy. After including 
exhibit-api.js, just add some _javascript_ like so

    <script>
        Exhibit.CollectionSummaryWidget.l10n.resetFiltersLabel = "Reset 
All Filters";
       // ... other strings
    </script>

That locale string is defined in here
    
http://api.simile-widgets.org/exhibit/2.2.0/locales/en/scripts/ui/widgets/collection-summary-widget-l10n.js

You can track down the other strings.

If you want other people to be able to use your translation, it's good 
to translate all the strings in the "en" locale and give us the 
translated files.

Cheers,

David




  
Thank you for your replay, it was very helpful.

I will translate the files to Arabic and send it to you.

Regards
Emad


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to