44
Views
3
Comments
[How To - Build an App with Multilingual Support] CRUD Actions multi language database
Application Type
Traditional Web

Hi there,

In understand this is an old example but it is still usefull. 

I want to translate my database content but I see no example of any CRUD actions. What would a CreateOrUpdate action look like? 

Thanks in advance,

Liesbeth

2021-09-06 15-09-53
Dorine Boudry
 
MVP

Hi Liesbeth,

Ooh, here I can use a much liked phrase : "it depends".  

I think the answer to that would depend largely on who in your organisation is going to do the translating, and in what workflow, and on what type of data.  

  • How many languages are there
  • are all translations mandatory to be there for each record
  • if not, will you use a default language to be shown
  • will the person updating a field always be the same person updating the translation
  •  or is there a 'translator' role in your company
  • is a single person able to translate into all desired languages, or are the tasks split to people knowing a specific language best
  • do you need translations for data that only change occasionaly (more for an functional admin type of user)
  • or do you also need translating on daily transactional type of data,...

The actual crud actions executed on the database are no different, but dependent on answers to above questions, it can range from some sort of bulked up crud wrappers always taking in and saving an attribute in the 3 Belgian languages, and the admin being responsible for filling them, to a complete workflow of translators being notified if an original text was added or changed, and them having their own screens and special crud wrappers to slap on the translations.

Dorine

2020-02-07 09-04-54
Liesbeth

Hi Dorine, 

Maybe i should indeed elaborate. 

For now I only have 2 languages, but we want to keep the option open to add more. It is used for the master data so an admin will be responsible for keeping it up to date but it won't change often. For now i don't want to make any language mandatory but if a record is not available in a certain language I want to fall back on a default value. 


This is what I was thinking, but I would like some input from the community because there might be better ideas :) 


2025-02-13 09-42-38
Helga Afonso

Hi! I want to do something similar to this, translating both static and input text at once when clicking a button to change language. Did you manage to achieve it?

Thanks for your help!


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.