Open Closed

Single language using in Abp #4093


0
[email protected] created

Hello coders. I created a project using ABP stuffs. But i see that is ABP has multi language support UI and Backend side. I want to use my project on single language. How can i remove basic ABP multi language support? Thanks all.


6 Answer(s)
  • 1
    maliming created
    Support Team

    hi

    You can try to remove UseAbpRequestLocalization from asp net core pipeline.

  • 0
    guven.uysall created

    Thanks @maliming.

  • 0
    [email protected] created

    I followed the way you showed. Thanks man! @maliming. My backend side is perfect. The project now running on single language. But UI side is not talking like that. I couldn't remove the language selection drop downlist from navbar.I am using the Angular on UI side. I tried to many ways but i counldn't remove the selection menu. Do you have any advice to do that ? @maliming.

  • 0
    mahmut.gundogdu created
    Support Team

    I followed the way you showed. Thanks man! @maliming. My backend side is perfect. The project now running on single language. But UI side is not talking like that. I couldn't remove the language selection drop downlist from navbar.I am using the Angular on UI side. I tried to many ways but i counldn't remove the selection menu. Do you have any advice to do that ? @maliming.

    The settings component could not be replaced with Abp Replaceable System. But we have fixed that in V7.0. But if you want to remove only "Language dropdown". I will send a gist in the next answer.

    However, if you respond, "I don't want to wait,", you can create your own layout and change that.

    https://support.abp.io/QA/Questions/3997/How-to-customize-LeptonX-settings-component

  • 0
    mahmut.gundogdu created
    Support Team

    Here is the example for "How to overriding settings service"

    https://gist.github.com/mahmut-gundogdu/55f2f57e4a2a1a0a4f07099444a88f47

  • 0
    [email protected] created

    The removing Language dropdown can fix my issue. It would be great!