Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old Today, 07:22 PM   #1
Sarmat89
Fanatic
Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.
 
Posts: 576
Karma: 2268308
Join Date: Nov 2015
Device: none
De-hardcode the language names

Right now, Sigil has a hardcoded list of languages, which is somewhat childish. It would be much better to have it externalized in a data file, supporting all 4 components of a language tag, so the proper language support would be available. It would allow the end user to customize their working set of languages. Also, it would allow the reuse of translations instead of them polluting the main app domain.
Sarmat89 is online now   Reply With Quote
Old Today, 07:49 PM   #2
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 10,282
Karma: 7640672
Join Date: Nov 2009
Device: many
We are not yet accepting new feature requests but instead focusing on bug fixes and stability.

That said, the language codes are determined by the epub spec requiring BCP-47 language codes which are based on ISO 639 language codes focusing on all languages with two letter and if needed 3 letter codes and any area/country/subgroup specifier if needed. This is part of the original spec for epub2 and epub3. Made up codes are not legal according to the spec.

If you have a specific dialect in mind that fits that spec that is not already included, I can add it to the list. But unless the region or subgroup is radically different, most commercial publishers recommend going broader to gain larger potential audiences.

Plus you can already use an environment var to limit the set of language codes to a more manageable size. Check out our Sigil User Guide for more information.

Last edited by KevinH; Today at 07:59 PM.
KevinH is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
folder names corrupt when author/language in Hebrew? sabri Library Management 6 08-12-2020 02:59 PM
Q:font-size -- hardcode or percent? phossler Sigil 7 09-09-2013 01:00 PM
Newbie question - Hardcode values on RegEx on import PeterSm Library Management 1 10-04-2011 11:55 AM
File names in other language doremifaso PocketBook 9 06-18-2010 01:09 PM
How to file authors with language-dependent names? Jellby Workshop 6 01-24-2010 06:21 PM


All times are GMT -4. The time now is 11:49 PM.


MobileRead.com is a privately owned, operated and funded community.