rejetto forum

2.4 translation

rejetto · 24 · 22059

0 Members and 1 Guest are viewing this topic.

Offline Richard_F

  • Occasional poster
  • *
    • Posts: 9
    • View Profile
ok, i replaced the link in the first post

thanks for that , it opens for me


Offline dj

  • Tireless poster
  • ****
    • Posts: 291
  • 👣 🐾
    • View Profile
    • PWAs
Download (empty en) language file for the default template

V2 prefills the file with an existing* language file
*only a handful at the moment (translations are welcome)
« Last Edit: July 14, 2020, 04:38:58 PM by dj »


Offline NaitLee

  • Tireless poster
  • ****
    • Posts: 203
  • Computer-brain boy
    • View Profile
V2 prefills the file with an existing* language file
*only a handful at the moment

I see zh only has some from mine for mobil-light/takeback. But actually here have a full translation for zh (currently 2.3m default, but enough). Download it as this.

The import from takeback zh to 2.4 original has a bug. The last word the same, then the whole word the same.
eg: Choose some files=选择一些文件 => files=选择一些文件 ; Click to Archive=点击打包下载 => Archive=点击打包下载
« Last Edit: July 12, 2020, 04:49:08 PM by NaitLee »
"Computation is not forbidden magic."
Takeback Template | PHFS


Offline dj

  • Tireless poster
  • ****
    • Posts: 291
  • 👣 🐾
    • View Profile
    • PWAs
I removed The import from takeback and used the file from 2.3m default
and added Logout, Username, Password (from Takeback).
So almost all is translated. :)


Offline NaitLee

  • Tireless poster
  • ****
    • Posts: 203
  • Computer-brain boy
    • View Profile
I'm working & testing on a new translation file for 2.4 def for zh. We're going to have a full translation soon  ;)
Some mis-translated strings will be corrected.

Problems found in default tpl:
  some built-in strings (like title=HTTP File Server, no results=No items match your search query)
  are not translatable with [+special:strings] due to they already inside the tpl.
  remove the plus can work, but some customize settings (option.move=1 etc.) are influenced.
"Computation is not forbidden magic."
Takeback Template | PHFS


Offline LeoNeeson

  • Tireless poster
  • ****
    • Posts: 842
  • Status: On hiatus (sporadically here)
    • View Profile
    • twitter.com/LeoNeeson
Problems found in default tpl:
I think Rejetto will fix it as soon he sees your message, but if he forgets, remind him again, since (from my experience) sometimes he unintentionally overlooks some messages (for having little time available to read every post here).
Cheers,
Leo.-
« Last Edit: July 18, 2020, 07:30:35 AM by LeoNeeson »
HFS in Spanish (HFS en Español) / How to compile HFS (Tutorial)
» Currently taking a break, until HFS v2.4 get his stable version.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
I could just remove that specific [+special:strings]  but it's there for a reason, and it's to make source text more "stable", so that translations need less updates.
I should use it even more, actually.
But that problem is compromising the very sense of that feature, impeding people to make translations :D
One possible solution is to have an alternative to the + operator to prepend instead of to append. As symbol I would use ^ .
Prepending would give priority to the customization.
This should be quick and easy to make for me, and technically good.
« Last Edit: July 28, 2020, 07:55:20 AM by rejetto »


Offline NaitLee

  • Tireless poster
  • ****
    • Posts: 203
  • Computer-brain boy
    • View Profile
A local version of dj's translation-file generator, with UI. :D

In attachment there's a .zip file, you shall un-zip it to see an .html file.

Open it with a modern browser (doesn't support IE),
 drag-drop or select a .tpl file in upload box, then the [^special:strings] will show up.
After that you can copy them or download them as a file, and start translation work  ;)
"Computation is not forbidden magic."
Takeback Template | PHFS


Offline dj

  • Tireless poster
  • ****
    • Posts: 291
  • 👣 🐾
    • View Profile
    • PWAs
V2 prefills the file with an existing* language file

select a .tpl file
*then opt. select a .txt(lng) file

or use querystring?lng for default template (en,es,fr,zh)
« Last Edit: November 25, 2020, 07:45:23 AM by dj »