Open Closed

Single language using in Abp #4093


User avatar
0
fatih.ceylan@hitsoft.com.tr 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)
  • User Avatar
    1
    maliming created
    Support Team Fullstack Developer

    hi

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

  • User Avatar
    0
    guven.uysall created

    Thanks @maliming.

  • User Avatar
    0
    fatih.ceylan@hitsoft.com.tr 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.

  • User Avatar
    0
    mahmut.gundogdu 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.

    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

  • User Avatar
    0
    mahmut.gundogdu created

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

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

  • User Avatar
    0
    fatih.ceylan@hitsoft.com.tr created

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

Made with ❤️ on ABP v9.1.0-preview. Updated on December 10, 2024, 06:38