locked
Multilingual Web Application and Themes RRS feed

  • Question

  • User-1413729368 posted

    We are in process of converting a ASP.NET application to multilingual web application. We have around 20 ASPX pages in project and every ASPX page have 4-10 images in form ImageButton, Banner(<img> tag). We have separate set of button and banner images for supporting English and Spanish languages. For correctly point to language specific image directory, at page load event I detect CultureInfo of current thread and according to culture, I set easily image URL of ImageButton, banners and so on. One of my friends suggested that I should use Themes to incorporate this functionality. Following are my queries:

    1. Is using theme to support multilingual functionality a common practice?
    2. Do I have to change my current ASPX pages to support Themes. If yes then to what extent?
    3. Is using themes a more efficient way than setting the image URL?

    Any response to above queries will be very helpful to me.

    Thanks in advance. 

    Wednesday, October 18, 2006 10:06 AM

Answers

  • User-503940700 posted
    1. Is using theme to support multilingual functionality a common practice?
    2. Do I have to change my current ASPX pages to support Themes. If yes then to what extent?
    3. Is using themes a more efficient way than setting the image URL?

    Hi Ashu,

    My suggestions:

    1. No. If you are using only images as the whole localization process, then it might be ok, but Themes are generally used to change the "look and feel" of the website, and should be ideally independent of the culture being used.

    2. You need to use the Theme attribute of the page (or for all pages in the web.config file). As such there are no changes you need to make in the ASPX, just change the theme per page or for all pages using the Theme attribute.

    3. Even themes would use URL via CSS to set the images. So I think the question is not about efficiency but maintainability. Also, have you thought about localized content?

    HTH,

    Vivek

     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, October 18, 2006 2:00 PM

All replies

  • User-503940700 posted
    1. Is using theme to support multilingual functionality a common practice?
    2. Do I have to change my current ASPX pages to support Themes. If yes then to what extent?
    3. Is using themes a more efficient way than setting the image URL?

    Hi Ashu,

    My suggestions:

    1. No. If you are using only images as the whole localization process, then it might be ok, but Themes are generally used to change the "look and feel" of the website, and should be ideally independent of the culture being used.

    2. You need to use the Theme attribute of the page (or for all pages in the web.config file). As such there are no changes you need to make in the ASPX, just change the theme per page or for all pages using the Theme attribute.

    3. Even themes would use URL via CSS to set the images. So I think the question is not about efficiency but maintainability. Also, have you thought about localized content?

    HTH,

    Vivek

     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, October 18, 2006 2:00 PM
  • User-1413729368 posted

    Thank You Vivek for your response. It was very helpful.

     

    Wednesday, October 18, 2006 11:38 PM