Help translating OpenWrt's web interface

Hi! I continued with finnish translation on hosted.weblate.org. My plan is that I first translate luci-base fully and than continue with other modules. Luci-base is now 86% translated. I was wondering when it will be added to opkg builds?
Is there some percentage check before files are added to openwrt opkg-builds?

It is already there. New translations from Weblate are merged in roughly once per day.

Buildbot builds automatically from the current LuCI code, but it may take 2-3 days before each architecture has been compiled and your newest translations show up. You can naturally build it by yourself already now.

(And note that the translation goes to master, not 19.07. It can be later backported to release branches, but the ongoing translation is always done to master)

1 Like

Thanks, I installed snapshot version to see my translations, but
it seems that there's no luci packages for arm_cortex-a15_neon-vfpv4 yet. (My device is tplink c2600 ) So I reverted back to 19.07
Is there some simple way to test run translations? (.. by running virtualmachine with opnwrt or so..? )

What do you mean?
I use R7800 that is an ipq806x device, that uses the arm_cortex-a15_neon-vfpv4 package architecture.

Note that you need to install luci to snapshots.

Ps. I just noticed that the next buildbot run is just uploading packages to the download dir, so the luci download contents look empty right now (as old verisons have been cleaned away). Should be ok in a few minutes.

http://buildbot.openwrt.org/master/packages/grid
http://buildbot.openwrt.org/master/packages/builders/arm_cortex-a15_neon-vfpv4/builds/275

https://downloads.openwrt.org/snapshots/packages/arm_cortex-a15_neon-vfpv4/luci/

1 Like

Now they are there:

Index of (root) / snapshots / packages / arm_cortex-a15_neon-vfpv4 / luci /

File Name File Size Date
Packages 986.8 KB Wed Jun 24 07:24:32 2020
Packages.asc 0.9 KB Wed Jun 24 07:24:34 2020
Packages.gz 166.5 KB Wed Jun 24 07:24:32 2020
Packages.manifest 1248.3 KB Wed Jun 24 07:22:45 2020
...
luci-i18n-base-fi_git-20.175.71049-cf1de41_all.ipk 26.8 KB Wed Jun 24 05:38:33 2020
1 Like

When I tried to install luci or luci-base on snapshot I got following errors:

"opkg_download: Failed to download http://downloads.openwrt.org/snapshots/packages/arm_cortex-a15_neon-vfpv4/luci/luci_git-20.113.70804-9d02ef1_all.ipk, wget returned 8.
" 
and
"opkg_download: Failed to download http://downloads.openwrt.org/snapshots/packages/arm_cortex-a15_neon-vfpv4/luci/luci-base_git-20.171.46309-c351bee_arm_cortex-a15_neon-vfpv4.ipk, wget returned 8."

now it's seems that theres package named luci_git-20.175.71049-cf1de41_all.ipk maybe that will fix this.

But I found that running openwrt on virtual machine is possible, I'll do my translation testing there it's easier than messing with working internet connection with snapshot :slight_smile:

You need to run "opkg update" to update the package lists (as buildbot has built new versions 20.175) and you have a list of the old versions (20.171).

1 Like

Thanks @hnyman. I installed x64 snapshot on kvm virtualmachine and now I can test my translations with it.

Just discovered I can change the Luci language

1 Like

It also depends on how much is translated into your language.

Spanish it's already at 100% jaja

I did almost all the translation :smile::smile::smile:

2 Likes

Is it possible to add the Dutch language?

I added dutch, please try to translate at least luci-base :slight_smile: https://hosted.weblate.org/projects/openwrt/luci/nl/

In Italian i can translate whole project whenever u want, just tell me how

Start with the first post in this thread ;- )

I will soon

I have been localizing WordPress Ukraine for many years. As far as possible, I will do this in the same way for OpenWrt.

4 Likes

Weblate has currently the possibility to use cloud translation tools for auto-translating / suggesting translations. I tested those "Automatic suggestions" with Finnish, and the suggestions are surprisingly good. Three translation engines provide slightly different suggestions for consideration & possible editing, and you copy (end edit) one of those, or straightforwardly accept it with "copy and save".
Even the quotations & HTML tags are taken care of. Pretty neat.

3 Likes

Hi all,

I have started Serbian translation today.
Hope it can be completed in the coming months.
If anybody wants to help, please feel welcomed :slight_smile:

  1. Serbian
2 Likes