search for: locale_id

Displaying 1 result from an estimated 1 matches for "locale_id".

Did you mean: local_id
2006 Nov 02
3
Indexing and searching across multiple locales
...English terms just fine. I''ve also written a method to import data from the legacy XML files and save as ActiveRecord objects (using AAF). However, I''m not certain the the locale-switching is working properly: doc = Document.import_from_xml(filename) Ferret::locale = doc.locale_id # locale_id is "en.UTF-8" or "fr.UTF-8" for example doc.save What''s the best way to handle the import of data, where locale is changing from document to document? What other considerations should I keep in mind when using Ferret across multiple locales? Thanks...