Avery Haskell
Posts: 0
Joined: Wed Jun 17, 2015 10:34 pm

i18n translation plug-in...HOW DO I TRANSLATE STRINGS PULLED FROM A DATABASE?

I am following the i18n plugin instructions and so far it's working fine.

https://devcenter.appery.io/tutorials...

My question is how can I translate tasks (strings) pulled from the database?

I populate a list of items that are pulled from my Appery DB, and I want to be able to translate these tasks. There are only a few tasks, so I can create the specific translations myself for each one, but not sure how to implement it insofar as the list item/label is different depending on which item is read from the database.

Hope that makes sense.

Thank you in advance.

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

i18n translation plug-in...HOW DO I TRANSLATE STRINGS PULLED FROM A DATABASE?

Hello,

1) add column "lang" to the collection
2) add request parameter "where" for the service (https://devcenter.appery.io/documenta...)
3) set "where" value according to current language. It will return data only for this language

Return to “Issues”