Automattic / Automattic/WP-Job-Manager

WP-Job-Manager only partially supports qtranslate-xt.

Open
#1,849 0 comments 0 reactions 0 assignees View on GitHub
Third-party Conflict
Dominant language
PHP
Stars
899
Forks
369
Avg merge
11h 37m
Merged PRs (30d)
12

Description

#### Steps to Reproduce
1. Install qtranslate-xt (https://github.com/qTranslate/qtranslate-xt)
2. Add 2 Languages.
3. Run setup for wp-job-manager.
4. Provide translations for all the wp-job-manager pages.
5. Create jobs and provide translations.
6. Go to the job listing page and switch the language.

#### What I Expected
To see the result in a different language.

#### What Happened Instead
The language of the result has not changed.

#### WordPress / WP Job Manager Version
WordPress 5.2.2
WP Job Manager 1.33.4
qtranslate-xt 3.6.1

#### Browser / OS Version
Chrome

#### Screenshot / Video

#### Context / Source

The cache is not using the current path or page_id to cache.
To support qtranslate-xt you will need to add the path to the cache.

See:
https://github.com/Automattic/WP-Job-Manager/pull/1848

Contributor guide

Open the contributing guide

Research direction

No source file or test is named. Reproduce the language-switching case with WordPress, WP Job Manager 1.33.4, and qtranslate-xt 3.6.1, then locate the cache implementation described in the issue. Done means the cache distinguishes the current path or page_id so job listings change language correctly; review pull request 1848 for related context.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
backend, performance
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.