helllicht / kirby-autoid

AutoID is a plugin for Kirby 2 wich generates unique ids (numeric or hash) for every page.
MIT License
46 stars 3 forks source link

AutoID & Multi-Language Setup #9

Open possible-is opened 7 years ago

possible-is commented 7 years ago

Hi, i am using AutoID and it is really a blessing for related pages. But i stumbled upon a major problem for me: in an mulit-language setup, AutoID creates unique IDs for each language, so a .de file has a different ID than its matching en-file. That probably works for most scenarios, but if i want to make the choice of the related page only in the default language available (why should i choose a different one for other languages?) then this won't work anymore. Also, if i create a new page in the non-default language, the auto-ID is only stored in the non-default file, not in the default... I don't know if this was ever considered, but i recommend that Auto-ID only writes into the default language file, never in any other. that must work, right?

janstieler commented 7 years ago

Hi, I have the same problem here. I use the AutoID in js code and I have to use everytime twice selectors. A solution would be nice.