Sunday, 05 February 2023
  4 Replies
  302 Visits
0
Votes
Undo
  Subscribe

it was a few month i can't use my locale langage    Gun on thetheocbase

i need your Help please 

1 month ago
·
#9930
Accepted Answer
1
Votes
Undo

Aargh, they did it again. And before reading this remember it may be correct again next time.

Option 1: use Sigil (sigil-ebook dot com) to change "en" to "guw" in the workbook. Probably there is only one instance of the langue code that TB looks at, but I do not know which. So change all. I'll post a video of how to do that.

Option 2: directly in the database. Find the database and open with a browser (see suggestion in my signature below). In the Browse Data tab, select the table lmm_woorkbookregex. In the language column filter for 'en' and change those entries to 'eng' so they don't get lost, subsequently change all 'guw' entries to 'en' so the guw parameters get applied to your workbook. If you do this, you cannot import a real English workbook for now, unless you put it back.

Option 3: take the txt file you show, which starts with 'delete from...' Change all 6 occurences of 'guw' to 'en', store as a NEW txt file (in Wordpad, I choose Save as UTF-8 with BOM, but sometimes it works just as UTF-8) and execute as normal (Settings bottom right hand corner: klick >_ and proceed). Having the 2 files makes it fairly easy to switch if next workbook is different again.


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/ 

 


djossou omega selected the reply #9930 as the answer for this post — 1 month ago
djossou omega selected the reply #9930 as the answer for this post — 1 month ago
1 month ago
·
#9943
0
Votes
Undo

thank you Marc for your suggestions
everything are good now 

well done 

1 month ago
·
#9930
Accepted Answer
1
Votes
Undo

Aargh, they did it again. And before reading this remember it may be correct again next time.

Option 1: use Sigil (sigil-ebook dot com) to change "en" to "guw" in the workbook. Probably there is only one instance of the langue code that TB looks at, but I do not know which. So change all. I'll post a video of how to do that.

Option 2: directly in the database. Find the database and open with a browser (see suggestion in my signature below). In the Browse Data tab, select the table lmm_woorkbookregex. In the language column filter for 'en' and change those entries to 'eng' so they don't get lost, subsequently change all 'guw' entries to 'en' so the guw parameters get applied to your workbook. If you do this, you cannot import a real English workbook for now, unless you put it back.

Option 3: take the txt file you show, which starts with 'delete from...' Change all 6 occurences of 'guw' to 'en', store as a NEW txt file (in Wordpad, I choose Save as UTF-8 with BOM, but sometimes it works just as UTF-8) and execute as normal (Settings bottom right hand corner: klick >_ and proceed). Having the 2 files makes it fairly easy to switch if next workbook is different again.


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/ 

 


1 month ago
·
#9929
0
Votes
Undo

i see now the problem 
at last time they use "guw"

but currently they use "en"

 

 

 

 

 

What can i do now to make the correction?

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