FolioReader / FolioReader-Android

A Java ePub reader and parser framework for Android.
BSD 3-Clause "New" or "Revised" License
2.25k stars 717 forks source link

How can I access localizeContentTitle, localizedHighlightsTitle etc. from FolioReader-Android ? #483

Open aysel82 opened 3 years ago

aysel82 commented 3 years ago

Issue / Feature - FolioReader version -
FolioReader Stock / Modified -
Android SDK - Mobile / Tablet / Emulator Info -
Crash / Error -

Steps to reproduce / Describe in detail -

Hi, I can change Content Title or the other titles in FolioReaderKit like that:

let config = FolioReaderConfig() config.localizedContentsTitle = "İçerik" config.localizedHighLightsTitle = "Vurgulananlar" config.localizedFontMenuDay = "Gündüz" config.localizedFontMenuNight = "Gece" config.localizedLayoutVertical = "Dikey" config.localizedLayoutHorizontal = "Yatay"

But I can't access "localizeContentTitle" from FolioReader-Android. I can just access font size or theme color etc. like this:

_var config: Config = Config() .setAllowedDirection(Config.AllowedDirection.ONLY_VERTICAL) .setDirection(Config.Direction.VERTICAL) .setFont(Constants.FONT_LORA) .setFontSize(2) .setNightMode(true) .setThemeColor(R.color.appgreen) .setShowTts(true)

Is there any way to access localizeContentTitle, localizedHighlightsTitle, localizeMenuDay, localizeMenuNight etc. from FolioReader-Android?