Problem/Motivation

If the current site language is in any language other than english, the link created does not have that language code. Due to this it always shows the content based on site's default language.

Proposed resolution

The module should detect current language and the link should be generated based on that.

Remaining tasks

N/A

User interface changes

N/A

API changes

N/A

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

  • subhojit777 committed c58694a on 7.x-1.x
    Issue #2479319: Views base url not respecting current site language
    
subhojit777’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

alinouman’s picture

Is this issue fixed in 1.2 version? Because I have enable the module and the issue is still there.

subhojit777’s picture

What exactly is the issue that you are facing.

rudam’s picture

It does not get language code in the URL... both 7.x-1.2 and 7.x-1.1

subhojit777’s picture

Status: Closed (fixed) » Needs work
subhojit777’s picture

Status: Needs work » Postponed (maintainer needs more info)

@rudam Which module you are using for translation. Because, I tested with Core's Locale and Content Translation module, and the language code was present in the URL.

Nightwalker3000’s picture

Hi,
same issue here. I'm using the Internationalization Module for Translation.

Nightwalker3000’s picture

Hi,
for better understanding this issue I created a new minimal Drupal installation and generated some Multilanguage Content and tried to link them with language Prefix. It looks like, that “Views base url” doesn’t add the Language prefix to content. Screenshots are attached to this issue. I’ve also added my View and enabled Modules to it.

I guess there should be an API call in function render($values) which determines which language is active and also if URL Prefix for languages are used and append it to the Link.

subhojit777’s picture

Status: Postponed (maintainer needs more info) » Needs work

i18n specific API should be used to generate the URL.