Page 1 sur 1

Custom localization strings

Publié : dim. déc. 06, 2020 4:34 pm
par jensmohr
Good day all,

writing from germany my french is "tres terrible" and my english is just good enough, I hope B) and I am not a programmer.
Bad starting position, I know 8-) and at the top of that I am coming from the php-side as a "hobbyist" whith java-knowledge similar to a brick. :lol:

After all squash-tm (b.t.w. thank you very much for this, as far as I can say, great tool) appears to be somewhat "usefull" for my work in shipbuilding industry. For this I need to customize only the messages_de.properties for use case: steel production manual testing and verification fulfilment of requirements of our company's works execution).

After about one month of fiddling with eclipse and .war-files I cannot get a single letter changed.
On the other hand side there's this one folder "/etc/squash-tm/lang" which seems to be reserved for exactly my purpose?
Hours and days of g**gle-ing and searching this forum I found no example what filename would be required in this folder to be recognized by squash-tm AND at least one example of how the content-string has to be.

Squash-tm was set up (again) two days ago on ubuntu 18.04. LTS according point 2.02 of Cahpter A of the installation guide.
Also I am using mysql database. All went flawless and the software is running smooth.

Finally this post rises three questions:
1. What has to be the correct file name in /etc/squash-tm/lang -> to be recognized by the running server?
2. How has the "customization"-string to look in syntax?
3. Do I have to set any "switch" whithin squash-tm to get the /lang-folder to be parsed?

<edit> I tried copying the messages-file from war-archive -> to no avail </edit>

Appreciating any hint I hope someone can give me.
(Best case someone could drive me through the eclipse-setup. But I think that would be over the top. :unsure: )

Stay healthy all together and have a wonderful christmas time :)

Regards from Germany,
Jens

Re: Custom localization strings

Publié : ven. déc. 18, 2020 3:11 pm
par jensmohr
From what I can see there are well more than 300 clicks whithin two weeks.
It appears this topic is some kind of interesting not only to me.

Possibly I could at least get "RTFM"? (worst case :lol: )
Or the info "File name has to be .txt"! (or whatsoever?)

Also, "not yet implemented" would tell me that I don't have to continue bothering you here... B)

Appreciating any hint,

Regards
Jens