Try ERPNext Buy Support Partners Foundation

Website language settings

Hi is it possible in v4 to change the website language to other than english?

Thanks!



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/4db6d315-7a13-410c-a509-c523b7985802%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
Setup > Settings > System Settings


On 12-May-2014, at 4:00 pm, in...@betabank.de wrote:

Hi is it possible in v4 to change the website language to other than english?

Thanks!



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/4db6d315-7a13-410c-a509-c523b7985802%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/BCABAF43-0507-4292-AE84-AACCB58B4E6E%40gmail.com.

    For more options, visit https://groups.google.com/d/optout.
Thank you, very easy! Is it possible to have english and also a second idiom?

Am Montag, 12. Mai 2014 12:54:19 UTC+2 schrieb rushabh:
Setup > Settings > System Settings


On 12-May-2014, at 4:00 pm, in...@betabank.de wrote:

Hi is it possible in v4 to change the website language to other than english?

Thanks!



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/4db6d315-7a13-410c-a509-c523b7985802%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/ebc598a9-1072-4d2b-86d0-c212a6528889%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
Right now its designed to do one language only!



@rushabh_mehta

On 12-May-2014, at 4:38 pm, in...@betabank.de wrote:

Thank you, very easy! Is it possible to have english and also a second idiom?

Am Montag, 12. Mai 2014 12:54:19 UTC+2 schrieb rushabh:
Setup > Settings > System Settings


On 12-May-2014, at 4:00 pm, in...@betabank.de wrote:

Hi is it possible in v4 to change the website language to other than english?

Thanks!



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/4db6d315-7a13-410c-a509-c523b7985802%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.




Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/ebc598a9-1072-4d2b-86d0-c212a6528889%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/56998EA1-DEB0-4DED-876F-9DB6DF3028FC%40gmail.com.

    For more options, visit https://groups.google.com/d/optout.

Hi, we want to bring this topic again to life.

Would be possible in v5 to have a language selector for the public website? Our customers use 2 languages.

Someone else having this need?

Thanks!

+1 We too have the same need! We have customers in 30 languages :slight_smile:

Perfect! Is there a Github issue we can follow or we just add a new one?

There might be, not sure. Its not in our immediate roadmap though.

Is there anything we can do at semilimes to make this happen?

Hi, i think @pragex was proposing a solution to this some months ago, is this more feasible now with version 11 than with v4 when it was proposed?

Hi all,

+1 here as well, this is certainly a requirement. Looking into a way of the implementation, as far as I know, the translation function _("…", “en”) has a second parameter, which allows to force translating to a specific language (works for print formats). What if there was a language selection menu, the settings of which is then stored in the session and pulls it…?

Hi,
The default language is the language set in the user. By default, is the Guest user.

The language selection is made by duplicate the file “erpnext/templates/includes/navbar/navbar.html” in my app.

And I add this block:

<div class="lang">                                                                                                                                                                                     
    {% if frappe.local.lang and frappe.local.lang[:2] == "fr" -%}                                                                                                                                      
            <a href="{{ url_prefix }}/en{{ route | abs_url or '/' }}">English</a>                                                                                                      
    {%- else -%}                                                                                                                                                                       
            <a href="{{ url_prefix }}/fr{{ route | abs_url or '/' }}">Français</a>                                                                                                     
    {% endif -%}                                                                                                                                                                       
</div>

little more explanation please hoe to do this