Translations for PressBooks

plugin banner

This plugin provides simple handy tool for automatic relationship between original (home pages and chapters) content and translations in a PressBooks …

Author:My Language Skills team (profile at wordpress.org)
WordPress version required:3.0.1
WordPress version tested:5.3.8
Plugin version:1.2.7
Added to WordPress repository:29-11-2019
Last updated:29-11-2019
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:https://github.com/my-language-skills/transla...
Total downloads:681
plugin download
Click to start download

With use of this plugin you will be able to select the target language of the book (besides the focus language) and to create relationships between the pages and the available translated languages.

Only works with multisite installation!
Only works with PressBooks installation!

1.2.7

  • ADDITIONS
    • Functions prefixing, data validation and code format enhancements
    • Changing to dynamic pathways for plugin directory

1.2.6

  • ADDITIONS

    • Functionality for control of displaying translations options in the front-end (book and post level). More info in user-manual.
    • Functionality which removes all the plugin data from DB on plugin uninstall (with option to keep the data if we want to). More info in user-manual.
  • ENHANCEMENTS

    • Updated user-manual to provide up to date setup information.
    • Some Internationalization
  • BUGFIXES

    • Post translations were not freshly set to enable after “Display translations” enabled while “Save previous post values” disabled
    • add_action hook changed
    • Network setting option for saving plugin data after plugin uninstall now set to ‘enabled’ by default
    • Updated querry now accepts both “book-information” and “book-info” post names
    • Check if ‘tfp_post_translation_enable’ related to current post exists (table-of-contents)
    • Increase number of sites in uninstall functionality to 500
  • List of Files revised

    • translations-for-pressbooks.php
    • translations-for-pressbooks-change-htmlang.php renamed to tfp-change-htmlang.php
    • translations-for-pressbooks-print-hreflang.php renamed to tfp-print-hreflang.php
    • added tfp-network-settings.php
    • added tfp-translation-enabler.php
    • added uninstall.php
    • user-manual.php

1.2.5

  • ADDITIONS

    • Functionality for printing hreflang tags of the available translations.
    • Functionality for modifying default WP html lang tag
  • ENHANCEMENTS

    • Remove condition which changes “cs” country code to “cz” and rename flags back accordingly.
  • List of Files revised

    • added translations-for-pressbooks-change-htmlang.php
    • added translations-for-pressbooks-print-hreflang.php
    • added translations-for-pressbooks.php

1.2.4

  • ADDITIONS

    • New functions: getOriginalBookLanguage() , getCurrentBookFlag() and getCurrentBookLanguageCode().
  • ENHANCEMENTS

    • Modifies existing pbc_print_trans_links() function for needs of updated books4languages-book-child-theme-for-pressbooks v1.3 theme.
    • Changes flag name from “cs.png” to cz.png
  • List of Files revised

    • translations-for-pressbooks.php

1.2.3

  • REMOVED
    • Auto update from github

1.2.2

  • ENHANCEMENTS

    • Hide not use languages
  • List of Files revised

    • translations-for-pressbooks.php

1.2.1

  • ENHANCEMENTS

    • Create folder assets and add folder flag-icon
  • REMOVED

    • Original mark, now it’s in extensions-for-pressbooks
  • List of Files revised

    • translations-for-pressbooks.php

1.2

  • ADDITIONS

    • Languages names alphabetical organization #8
  • BUGFIXES

    • Translations bug #8
    • Concentration of code #10
  • List of Files revised

    • translations-for-pressbooks.php
    • original-mark.php

1.1

  • Edition extension removed

Disclaimers

The Translations for PressBooks is supplied “as is” and all use is at your own risk.


FAQ