Skip to main content
Topic: installing languages via package manager (Read 17960 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

installing languages via package manager

Just a short note:  We've set up a package server for translation files, thus it should be as simple as possible to install / uninstall language files.

How to use it?
Add the following URL "http://translations.elkarte.net" to the list of package servers. Then click "browse", select the preferred language and install it.

The related Admin section is - Admin - Main - Package Manager - Download Packages


Re: installing languages via package manager

Reply #1

Good idea TE ;)

just one thing: I remember that those files should update daily from transifex, but there was something wrong with the cron so files were not updated and synced with translations from transifex. Is this solved now?
sorry for my bad english

 

Re: installing languages via package manager

Reply #2

Quote from: radu81 – Good idea TE ;)

just one thing: I remember that those files should update daily from transifex, but there was something wrong with the cron so files were not updated and synced with translations from transifex. Is this solved now?
yep, I hope so..
this is the status of the italian translation (files + modified dates)
Code: [Select]
-rw-r--r--  1 root root 52078 Jan  3 12:08 Admin.italian.php
-rw-r--r--  1 root root  3280 Jan  5 14:12 agreement.txt
-rw-r--r--  1 root root  2822 Dez 19 18:20 BadBehaviorlog.italian.php
-rw-r--r--  1 root root  2001 Dez 19 18:20 Drafts.italian.php
-rw-r--r--  1 root root  3225 Dez 19 18:21 Editor.italian.php
-rw-r--r--  1 root root 40132 Jan  5 07:52 EmailTemplates.italian.php
-rw-r--r--  1 root root 38100 Dez 19 18:21 Errors.italian.php
-rw-r--r--  1 root root 81609 Dez 19 18:21 Help.italian.php
-rw-r--r--  1 root root 39175 Jan  5 07:52 index.italian.php
-rw-r--r--  1 root root 22684 Dez 19 18:21 install.italian.php
-rw-r--r--  1 root root 10679 Dez 19 18:21 Login.italian.php
-rw-r--r--  1 root root 19697 Dez 19 18:21 Maillist.italian.php
-rw-r--r--  1 root root 18362 Dez 19 18:21 Maintenance.italian.php
-rw-r--r--  1 root root  7293 Dez 19 18:21 ManageBoards.italian.php
-rw-r--r--  1 root root  2585 Dez 19 18:21 ManageCalendar.italian.php
-rw-r--r--  1 root root  2109 Dez 19 18:21 ManageMail.italian.php
-rw-r--r--  1 root root  8633 Dez 19 18:22 ManageMembers.italian.php
-rw-r--r--  1 root root 13710 Dez 19 18:22 ManagePaid.italian.php
-rw-r--r--  1 root root 31223 Dez 19 18:22 ManagePermissions.italian.php
-rw-r--r--  1 root root  5581 Dez 19 18:22 ManageScheduledTasks.italian.php
-rw-r--r--  1 root root 37284 Jan  5 07:53 ManageSettings.italian.php
-rw-r--r--  1 root root  6700 Dez 19 18:22 ManageSmileys.italian.php
-rw-r--r--  1 root root 12883 Dez 19 18:22 ManageThemes.italian.php
-rw-r--r--  1 root root  2993 Dez 19 18:22 Manual.italian.php
-rw-r--r--  1 root root  1596 Jan  5 07:53 Mentions.italian.php
-rw-r--r--  1 root root  9907 Dez 19 18:22 ModerationCenter.italian.php
-rw-r--r--  1 root root  7016 Dez 19 18:22 Modlog.italian.php
-rw-r--r--  1 root root   876 Jan  6 00:15 package-info.xml
-rw-r--r--  1 root root 19183 Dez 19 18:22 Packages.italian.php
-rw-r--r--  1 root root  9619 Dez 19 18:22 PersonalMessage.italian.php
-rw-r--r--  1 root root 13050 Dez 19 18:23 Post.italian.php
-rw-r--r--  1 root root 33213 Dez 19 18:23 Profile.italian.php
-rw-r--r--  1 root root  8542 Dez 19 18:23 Reports.italian.php
-rw-r--r--  1 root root 15229 Dez 19 18:23 Search.italian.php
-rw-r--r--  1 root root   196 Dez 19 18:23 Settings.italian.php
-rw-r--r--  1 root root  1700 Dez 19 18:23 Stats.italian.php
-rw-r--r--  1 root root  2116 Dez 19 18:23 Validation.italian.php
-rw-r--r--  1 root root 11073 Dez 19 18:23 Who.italian.php
Can you change one language string? and I'll check it tomorrow morning again.
Thorsten "TE" Eurich
------------------------

Re: installing languages via package manager

Reply #3

Awesome! :D
Bugs creator.
Features destroyer.
Template killer.

Re: installing languages via package manager

Reply #4

Quote from: TE – Can you change one language string? and I'll check it tomorrow morning again.

Ok, I did it. I'll check tomorrow
sorry for my bad english

Re: installing languages via package manager

Reply #5

Great idea with server :)

One file is missing in install package - Addons.***.php, I guess that's because it is not available at transifex.

Re: installing languages via package manager

Reply #6

Just one thing, the translations are synced only if they are approved, is that true?
sorry for my bad english

Re: installing languages via package manager

Reply #7

Great! @ 90% Malay language already is awesome. I have to find time for another 10%.

Re: installing languages via package manager

Reply #8

Quote from: radu81 – Just one thing, the translations are synced only if they are approved, is that true?
Nope, there's currently  no approval process.. the files (on the package server, not your forum) will be automatically synchronized daily.
Thorsten "TE" Eurich
------------------------

Re: installing languages via package manager

Reply #9

I mean approved on transifex.
sorry for my bad english

Re: installing languages via package manager

Reply #10

While in SMF, I remember the translations are checked for any broken string(s) as it might cause forum's break. Will similar things happen in Elk?

Re: installing languages via package manager

Reply #11

I have never tried, but I think transifex does that on-the-fly.
Bugs creator.
Features destroyer.
Template killer.

Re: installing languages via package manager

Reply #12

It's not setup that way at the moment (we do trust our translators :) , they are part of this project) but we can change it immediately to "reviewed only" language strings if needed.. 
Quote from: ahrasis – While in SMF, I remember the translations are checked for any broken string(s) as it might cause forum's break. Will similar things happen in Elk?
Their editor checks while editing strings, thus it's allmost impossible to break things..
Thorsten "TE" Eurich
------------------------

Re: installing languages via package manager

Reply #13

Quote from: radu81 –
Quote from: TE – Can you change one language string? and I'll check it tomorrow morning again.

Ok, I did it. I'll check tomorrow
As I promised, I did just a quick test: on transifex I changed the phrase n° 546 (line n°708) in index.italian.php from "Tu" to "Te"
Code: [Select]
$txt['liked_you'] = 'Tu';
I did this edit 2 days ago but it is not updated on zip file from http://translations.elkarte.net/
sorry for my bad english

Re: installing languages via package manager

Reply #14

@TE if you can, change the
Code: [Select]
<type>modification</type>
to
Code: [Select]
<type>language</type>
that way the package will be displayed in its own list in the package manager. ;D
Bugs creator.
Features destroyer.
Template killer.