Answered
I18N, L10N, G11N and things related
Hi y’all:
I am working on a bilingual project and will soon be getting into the stage where data has to be shown in more than just English. But this may not be so simple, at least for me, since I have never worked with databases in this context.
Imagine a table that lists categories of some kind. I have thought about the following:
1. Have one table of categories for each language - that sounds crazy.
2. Have a different page/template for each language – even crazier!
3. A resource bundle with all the category names in two or more languages; then, in the database, store NOT the category names, but the resource bundle key names and write a CFC, where one of its functions is to retrieve the key name from the database and extracting the key’s value from the appropriate rb.properties (bundle) file.
Of the above, I am inclined to go for #3. But having no experience in this, I would like to hear from someone about how to approach this, as I want to do some good planning before embarking in something that may turn out to be the wrong solution.
Any ideas? Paul Hastings, where are you?.
Regards,
Carlos
I am working on a bilingual project and will soon be getting into the stage where data has to be shown in more than just English. But this may not be so simple, at least for me, since I have never worked with databases in this context.
Imagine a table that lists categories of some kind. I have thought about the following:
1. Have one table of categories for each language - that sounds crazy.
2. Have a different page/template for each language – even crazier!
3. A resource bundle with all the category names in two or more languages; then, in the database, store NOT the category names, but the resource bundle key names and write a CFC, where one of its functions is to retrieve the key name from the database and extracting the key’s value from the appropriate rb.properties (bundle) file.
Of the above, I am inclined to go for #3. But having no experience in this, I would like to hear from someone about how to approach this, as I want to do some good planning before embarking in something that may turn out to be the wrong solution.
Any ideas? Paul Hastings, where are you?.
Regards,
Carlos
