hi
for some reason, fa prefix (persian) is not working. Gives error. In one of my site I changed to prefix to "farsi", where it did work. But I change prefix but links stay same, "fa".
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | edit lang.jpg | 18.91 KB | nerkn |
hi
for some reason, fa prefix (persian) is not working. Gives error. In one of my site I changed to prefix to "farsi", where it did work. But I change prefix but links stay same, "fa".
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | edit lang.jpg | 18.91 KB | nerkn |
Comments
Comment #1
PixelClever commentedI'm not sure what you changed on your site, but the language prefix is taken from the language table under from column "language" which should represent the current settings. If you try switching the language just by typing in farsi/node/2, for example, does it switch the language?
Comment #2
nerkn commentedWe have prefix coloumn too, and we can change language prefix set from Edit language. I cant use "fa" prefix, for unknown reason I dont allowed to use. I should use any thing other than fa for only path without changing made traslations
Comment #3
nerkn commentedHere is the patch to get prefixes from language->prefix coloumn.
120 th line to 126th line at languageinterface.module file:
Comment #4
PixelClever commentedComment #5
PixelClever commentedSeems like a reasonable patch. I will add it in the next release.
By the way please don't use the personal contact form for discussing bug reports.
Comment #6
metabits commentedI have the same problem, I think. I have English and Spanish, and the links in Spanish display in the block as they should, with es/prefix, but English ones they loose their prefix which is set to en in my languages settings. I tried the patch but I get a parser error.
Also I got a weird behaviour with a path. In my URLs alias I set:
system path (from image module):
image
path for spanish:
galerias
path for english:
galleries
of course each of them will get their prefixes from the system as well. With the other block, this was working properly, but now not anymore.
Thanks for your work, folks.
psc
Comment #7
j0nathan commentedsubscribing...
I have the same issue as "English ones they loose their prefix which is set to en in my languages settings".
English is my default language.
Sorry I haven't tried the patch.
Comment #8
benkewell commentedcan a new release be committed for the module with this patch?
as the current version (6.x-2.1) doesn't contain this patch yet
Comment #9
geodaniel commentedRegarding the English language being removed, it seems like a separate issue to the one in this thread, but the patch in #467924: Module is not "clean URL" setting-aware should sort it out I think.
Comment #10
bibo commentedThanks for the patch. Still waiting for the commit though ... 9 months is a long time :/.
Comment #11
PixelClever commented