It's probably a good idea to write a couple of pages of documentation
to deal with this issue.
On Tue, Oct 11, 2011 at 11:24 AM, Itamar Syn-Hershko
<ita...@hibernatingrhinos.com> wrote:
--
You received this message because you are subscribed to the Google Groups "ravendb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
we have tried, Dictionary, Translate string, and each has problemmy humble advise is add a Language property to each Model, and then force the user in the administration panel to select one when he add or edit the record, and if he wants a new translation then give him ability in the UI to duplicate the record and select the new translation, the users like it, as sometimes they don't need to translated all the properties of a model, so when they duplicate it, they have the option to either modify the properties needed to be translated, which will save them time from having to re enter all information if not required, or start a fresh one.on the front side, you just give a search by language option and query on the records with chosen language, or get the current Culture and query on records with language that matches that.and the way i store language is like thisLanguage = "en-US"or language = "ar_SA"of course sometimes you need a main Record with data in specific language and others with translated ones, you can do this by creating a property on the translated record which points to the main Record Id, and pull the essential properties from therehope it helps
Optional parameter works for me!
I like the products/1/en-US, then products/1/en, then products/1 is also nice.