Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to add new langauge? (Korean) #4064

Open
cw-hckim opened this issue Mar 20, 2024 · 3 comments
Open

how to add new langauge? (Korean) #4064

cw-hckim opened this issue Mar 20, 2024 · 3 comments

Comments

@cw-hckim
Copy link

I am Korean.
/var/www/html/phpipam/functions/locale
I want to install Korean on the path, but I couldn't find any guides.

Can you tell me how to install it?
The Korean language I want to install is ko_KR.UTF-8

thank you for time!

@phpipam
Copy link
Owner

phpipam commented Mar 20, 2024

Hi, try this:

Create directories and symlinks:

cd /var/www/html/phpipam/functions/locale
mkdir ko_KR.UTF-8
mkdir ko_KR.UTF-8/LC_MESSAGES
ln -s ko_KR.UTF-8 ko_KR.utf8
ln -s ko_KR.UTF-8 ko_KR
ln -s ko_KR.UTF-8 ko

Copy translation file from english, than edit it:

cd /var/www/html/phpipam/functions/locale
cp en_US.UTF-8/LC_MESSAGES/phpipam.po ko_KR.UTF-8/LC_MESSAGES/

Once you are finished compile it:

cd /var/www/html/phpipam/functions/locale/ko_KR.UTF-8/LC_MESSAGES/
vi phpipam.po
msgfmt -v phpipam.po -o phpipam.mo

Now create new language under GUI administration > Languages.

@cw-hckim
Copy link
Author

cw-hckim commented Mar 20, 2024

Thank you Miha Petkovsek!.

We are going to modify all of the msgstr in the (korean)phpipam.po file to Korean.
I working to do about 1,000. T_T

I will share the (korean)phpipam.po file with you once everything is resolved.

@phpipam
Copy link
Owner

phpipam commented Mar 20, 2024

Ok, yes share and I will include it to repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants