Tuesday, 13 September 2022
  8 Replies
  610 Visits
0
Votes
Undo
  Subscribe

Hi Thank you for all your hard work brothers, It is truly appreciated.

I wanted to ask if it's possible to add support for the sranantongo language, so the sranantongo workbook and watchtower can be imported.

I also noticed that there must've been a post detailing how to create custom templates that support a specific language, but the link now reports an error. Where can I find that info?

Thanks in advance,

 

Pierre

2 months ago
·
#9501
0
Votes
Undo

Stuur me even een mailtje met je telfoonnr (of persoonlijk mailadres) via de jw mail (mijn gebruikersnaam theunissenm). Dan neem ik even contact op om een screenshare via Anydesk af te spreken. Direct messaging via deze site is uitgeschakeld, maar ik wil mijn gegevens hier niet openbaar delen.


https://www.theocbase.net/support-forum/post/1097-donations.html

For accessing the database my personal preference is http://sqlitebrowser.org/

For editing templates I now use https://code.visualstudio.com/ 

 


2 months ago
·
#9500
0
Votes
Undo

Yes, i did all that. Though not recently. I think many months ago when I first tested Theocbase. I have sranantongo talks entered as dutch language talks and my interface is also dutch. I have the speakers also setup. Just when I try to add the talks to them nothing happens. Should I maybe try deleting the talks and inputting them again?

2 months ago
·
#9497
0
Votes
Undo

Public talks won't show up if their defined language does not equal the chosen interface language (don't ask me why...). Meaning: if you use TB in e.g. English, you have to 'tell' TB your talk themes are English also, whether they actually are or not. If you want to redefine the language of imported talks, you'd need to go into the database, but if no talks have been assigned to persons yet, it is easier to delete imported talks and reimport them, choosing the 'correct' language this time.

Local public speakers are marked as such under persons (publishers), where you define all meeting parts for persons in your local congregation.

Speakers from other congregations: define congregation first, then add speakers in the Public Talk menu (not Settings  - Public talks) (do not add local speakers in this menu, this would cause that speaker to appear twice in the publisher table)
Select a speaker and hit the stylus icon to the right: tick the talks this speaker has. (or use a comma separated string after hitting the + icon)


https://www.theocbase.net/support-forum/post/1097-donations.html

For accessing the database my personal preference is http://sqlitebrowser.org/

For editing templates I now use https://code.visualstudio.com/ 

 


pierrevp marked this post as Resolved — 2 months ago
2 months ago
·
#9495
0
Votes
Undo

I noticed that importing the workbook, watchtower and teaching brochure all work in sranantongo now. I think the songbook too if I remember correctly. I've also added the talk titles and congregations with speakers too, but for some reason adding a talk to a speaker doesn't work. No error, just nothing happens. I'll see if there is an answer in the forum.

I've added a zip file with custom templates for sranantongo, Aukan (okanisi) and Saramaccan for anyone interested. Also another zip with notes of what was translated

The expressions !TITLE! and !CONGREGATION_TITLE! didn't need replacing since you can configure them in the interface; !TITLE! under extra option in the printing tab and !CONGREGATION_TITLE! under settings.

2 months ago
·
#9489
0
Votes
Undo

Geweldig!

Thank you so much for your quick response. I tested editing the templates and also importing the workbook and it works great.

Once I've edited the templates I'll attach them for the convenience of others.

2 months ago
·
#9488
0
Votes
Undo

OK, as for the templates: go to the template folder (it is within the TB installation folder and called 'templates')

Find the template you want to change. I take MW-Schedule_1 as an example. 
Copy (!)  the template outside of the template folder: permissions within that folder usually being restricted, plus you want to keep the original.

Use a good editor to open it (e.g. Notepad++ or VisualCodeStudio, which are free, just like Code Writer which comes with Windows 10) but not a regular word processing programme or your standard Notepad which comes with Windows.

You want to tweak the values marked in red in the accompanying picture You need to replace the placeholders, including the exlamation marks, with the actual expressions (which you can mostly copy paste form the workbook)

So line 60: !CONGREGATION_TITLE! becomes North Congregation or Congregation North, or whatever is common in Sranan.
Line 62 !TITLE! becomes the Sranan equivalent of 'Life and Ministry Meeting' or 'Midweek Meeting', whatever you want really.
Then find !SONG!, and replace (Singi). You may want to use 'find' or 'find and replace' function here, this occurs several times. Similarly find !PRAYER! and replace (begi).
Stay away form anything that has more than song or prayer between the exclamation marks.

Change:
Line 101 !OPENING! > Beginwortu
Line 116 !GW! > GUDU NA INI GADO WORTU
Line 206 !FM! > DU MUITI FU TR WAN MORO BUN PREIKIMAN
Line  319 !CL! >  WI KRESTEN LIBI
Line 379 and 403 !CONCLUSION!> Wan tu lasti sani

You will also want to replace !CONDUCTOR! and !READER! (line 362, 363) as well as !CHAIRMAN! (line 90), again not !CBS_CONDUCTOR! and !CBS_READER!, as the latter are the actual person names you enter.

When done, choose Save as, and choose a name you recognise like MW-Schedule_1_SR.htm, anything will do as long as you retain the MW- part. Then copy (not move) the modified template back into the template folder.

Test and if necessary go back to the file your worked on which is still outside the template folder (that is why you copied, not moved). If you get stuck, come back here. 

I can post this particular template tweaked for Sranan, but it is just to show how it is done, since you may be more interested in other templates.


https://www.theocbase.net/support-forum/post/1097-donations.html

For accessing the database my personal preference is http://sqlitebrowser.org/

For editing templates I now use https://code.visualstudio.com/ 

 


2 months ago
·
#9487
0
Votes
Undo

Unzip the attachment (you cannot attach a txt). In TheocBase, Settings, bottom right hand corner find the >_ button. Click and navigate to the unxipped txt file. OK the warning, and after one or 2 seconds confirm the message. 
You can import the SR workbook now. I hope...

I'll get back  to the templates later


https://www.theocbase.net/support-forum/post/1097-donations.html

For accessing the database my personal preference is http://sqlitebrowser.org/

For editing templates I now use https://code.visualstudio.com/ 

 


2 months ago
·
#9486
0
Votes
Undo

Importing the Watchtower, is something that is enabled deep in the programme. The only thing I could suggest, is importing it manually. It is not nearly a hassle as importing the workbook, and will take you 5 minutes per issue. See how it can be done here: https://u.pcloud.link/publink/show?code=XZCIlOXZYAAoRoOHvfy17072MYCLBB2F7LH7

I'll try and work on importing the workbook later (today?), and explain how to adapt existing templates without having to translate all of TheocBase. The gist is: find the placeholder (which retrieves the local expression for defined languages) and replace it by the actual expression you need. This way you obtain a template that is hardcoded for that particular language.


https://www.theocbase.net/support-forum/post/1097-donations.html

For accessing the database my personal preference is http://sqlitebrowser.org/

For editing templates I now use https://code.visualstudio.com/ 

 


  • Page :
  • 1
There are no replies made for this post yet.
Be one of the first to reply to this post!