You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: languages/languages.txt
+11-13Lines changed: 11 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -151,24 +151,22 @@ Text within the <source> tag is the text that is to be translated. The translate
151
151
WARNING: Do not change the text in the <source> tag. Even adding an extra line will break the
152
152
translation.
153
153
154
-
II.b Converting QT .qm files
154
+
II.b Converting .ts files from official Virtualbox
155
+
156
+
You will need a copy of VirtualBox installed and to navigate to your VirtualBox installation folder on your computer, then to the "nls" folder.
157
+
Otherwise, you can navigate to the URL: "https://www.virtualbox.org/browser/vbox/trunk/src/VBox/Frontends/VirtualBox/nls".
158
+
You should see files which have the naming convention VirtualBox_xx.ts - where xx is the language code described above.
159
+
If you can't find the needed language, you won't be able to add or update it in phpVirtualbox.
155
160
156
-
To convert these files, you will need a copy of Qt Linguist. A google search should yield a download
157
-
link. You will also need a copy of VirtualBox installed.
161
+
Copy the "VirtualBox_xx.ts" file corresponding to the needed language.
158
162
159
-
Open Qt Linguist. From the file menu, select Open and select All Files in the Open File dialog.
160
-
Navigate to your VirtualBox folder on your computer, then to the nls folder. You should see files
161
-
which have the naming convention VirtualBox_xx.qm - where xx is the language code described above.
162
-
Select the file and click Open. Just click OK on the subsequent dialog box. Click on Save as... in
163
-
the File menu. Save the file as a "Qt translation source" (*.ts) file.
163
+
The script languages/source/parse_vbox_lang.php provided with phpVirtualbox can then be used to parse this ".ts" file into a ".dat" file consumable by phpVirtualBox.
164
164
165
-
The script languages/source/parse_vbox_lang.php can then be used to parse a .ts file into a .dat file
166
-
consumable by phpVirtualBox. E.g.
165
+
Navigate to you phpVirtualbox installation folder and then to languages/source. Put the previously copied "VirtualBox_xx.ts" file there, then run the following command (you will need a working php setup) :
0 commit comments