OPNsense Forum

English Forums => Documentation and Translation => Topic started by: Core0x43 on December 02, 2017, 11:08:38 am

Title: about github.com/opnsense/lang
Post by: Core0x43 on December 02, 2017, 11:08:38 am
    Hello,  I've been trying to add languages to my opnsense from github.com/opnsense/lang but i can't see new languages on web gui. am i missing anything? I just followed instructions on the page.  What should i do?
Title: Re: about github.com/opnsense/lang
Post by: fabian on December 02, 2017, 11:31:34 am
you need to add your lang in this file: https://github.com/opnsense/core/blob/32c4930aa203abec492c140ad7cd53e9a32212d2/src/etc/inc/system.inc#L222

and you need to copy the compiled file into a special directory I currently don't know.
Title: Re: about github.com/opnsense/lang
Post by: Core0x43 on December 02, 2017, 11:35:58 am
you need to add your lang in this file: https://github.com/opnsense/core/blob/32c4930aa203abec492c140ad7cd53e9a32212d2/src/etc/inc/system.inc#L222

and you need to copy the compiled file into a special directory I currently don't know.

  Thank you very  much.
Title: Re: about github.com/opnsense/lang
Post by: franco on December 02, 2017, 03:28:57 pm
Hi there,

If you have a new language to share with everyone, let us know and we can integrate it.

While lang.git is used for generating the template and build process, the translation takes place here:

https://translate.opnsense.org/

Accounts are given out by request via project@opnsense.org


Cheers,
Franco