Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Change Language to Arabic #2836


User avatar
0
avanekar02 created

Hello

When i change the language, and i need the data also to change to arabic , data not from language XML file but from database what is your reccomendation for the same, currently for arabic i added a column in the table and display the arabic or english based on language selected.

Is this the right way.

please advise

Regards Anwar


3 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Content localization is not directly supported by ABP at the moment. There is an issue for this <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/issues/297">https://github.com/aspnetboilerplate/as ... issues/297</a> which can help you to develop this feature.

    Are you planning to add only arabic and english or there will be other languages in the future ?

    Thanks.

  • User Avatar
    0
    avanekar02 created

    hello

    Other languages too like french is next on the line. but cant keep extending columns of the same table, is there another way.

    regards Anwar

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    I cannot provide you a full solution but I can suggest you to store lingual information in other entities.

    For example, let's say you have a product entity.

    You can define two entities

    Product

    • Price
    • StockCount ** other properties

    ProductLingual

    • ProductId
    • LanguageCode
    • Name
    • Description