Skip to content

Releases: dougwollison/nlingual

Bug fixes and ACF compatability improvements.

22 Oct 20:07
Compare
Choose a tag to compare

Fixed some issues with the Edit translation button and quick/bulk edit boxes (and issues with unlinking sister posts). Also updated the french .mo file and corrected an issue with it not actually being loaded.

In addition, I found some issues with synchronizing of the ACF repeater field data. The metadata for these fields is stored in a somewhat overly complicated manner (separate entries for each field vs a serialized array), so now meta fields names are compared in a LIKE fashion; using the % wildcard.

To specify synchronizing of a repeater input's data, use one of the following formats.

  • table_name_%
  • table_name_%_column_name

This change will also allow you to list a single entry to cover all meta fields containing a certain string in the name.

Admin-only feature, numerous bug fixes, doc updates; a lot of stuff.

09 Oct 02:34
Compare
Choose a tag to compare

A slew of bug fixes and some new features. Honestly, I almost wanted to call this a 2.0.0 release because of all the revisions.

Most notable fixes:

  • removed None option on set language; should default to default language.
  • no longer skips URL localizing on vanilla home_url. (Note; to get the proper home url, use get_option('home') as it is unaffected).
  • removed HTTP_HOST & REQUEST_URI editing.
  • fixed save_post from running sync with no associated posts.

New features.

  • admin only mode; a non conflict method that doesn't affect the front end or collide with other plugins (for getting setup and migrating from one system to another).
  • active option to languages (hides them from front-end if unchecked).
  • adds the post_name of the sister post in the original language to the body class.

General changes:

  • nonce and field names have been tweaked for clarity.
  • documentation all around has been heavily enhanced.
  • table creation includes altering to add new columns that aren't yet present.

Coming soon:

  • A patch will come out soon with the corrected translations for the new option labels; I've gone with crappy google translate ones for now. Apologies.
  • A tool for migrating from qTranslate, as well as possibly xili-language and WPML will also be released in the the near future.
  • An improved UI for handling stuff like Site Title and Term Names without manually using the separators is also in the works.

Fixed how uninstall.php deletes nLingual related options.

04 Oct 22:14
Compare
Choose a tag to compare

I swear I tested it before, but I guess the delete_option function isn't defined when uninstall.php runs; wend the $wpdb route instead. Will delete ANY option with the name starting with "nLingual-".

Fixed metadata synchronization

04 Oct 16:47
Compare
Choose a tag to compare

Realized the handling of metadata synchronization was flawed on 2 fronts:

  1. Damn thing doesn't support keys with multiple values for a single post.
  2. Kinda messed up how it split the metadata field list into individual lines properly (more than one resulted in a \r getting added onto it).

Anyway, it's all fixed and working properly now. Also made some improvements to the commenting on most of the PHP files.

Also, any input on a better way of syncing the metadata would be appreciated.

Updated version number in main plugin file.

03 Oct 23:59
Compare
Choose a tag to compare

Oops, knew I forgot to update that thing somewhere.

Added skip current language feature to lang_links (also minor commenting updates)

03 Oct 16:31
Compare
Choose a tag to compare

The nL_lang_links function now offers a $skip_current argument (#4).

Added other_lang methods.

03 Oct 16:18
Compare
Choose a tag to compare

The new features in this update are largely only useful for bilingual setups. Now in addition to the current_lang functions, you can use other_lang functions, which get or test using the language that isn't the current one (in multilingual setups, it's the first one in the languages list that isn't the current one).

Fixed associate_posts and added translation management to quickedit

03 Oct 16:12
Compare
Choose a tag to compare

Discovered an issue where associate_posts wasn't set to delete links when the post_id passed was -1 ("None" in the interface). Also added translation management to the quick edit form.

Initial Release

02 Oct 15:11
Compare
Choose a tag to compare

The first public release of nLingual.