OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



direct local

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
What to do if you have a technical problem with OJS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a development question, try the OJS Development subforum.

direct local

Postby birkok » Sat Nov 22, 2008 3:58 am

What would be the direct URL link to locale Turkish language? (Not changing via language drop down menu).
Thanks
birkok
 
Posts: 80
Joined: Sat Sep 22, 2007 5:12 am

Re: direct local

Postby jmacgreg » Mon Nov 24, 2008 11:36 am

Hi Birkok,

Do you mean a direct link to the Turkish translation of your web site? That doesn't exist -- the link to your web site is always the same, regardless of language. The only way to change the language is to use the drop-down menu on the right, although you can specify any language you have installed to be the default language (that is, the first one that a user sees when they visit).

Cheers,
James
jmacgreg
 
Posts: 4186
Joined: Tue Feb 14, 2006 10:50 am

Re: direct local

Postby birkok » Mon Nov 24, 2008 11:58 am

I see, but the problem is that the other languages' articles is shown only as abstract link, the there is no link for article file.
If there is no link, no indexing.
And also, readers cannot be notified that article, because they see only abstract link.
They must change site language to see if there is an article for that abstract.

Same situation causes another problem for RSS feeds. All titles in both languages from RSS fields should be shown appropriate sites. Readers get confused or think while reading the titles that the article is in another language.

In conclusion, If you prefer one language you lost other.

It is very important issue for bilingual publishing. It is not just changing interface language.
birkok
 
Posts: 80
Joined: Sat Sep 22, 2007 5:12 am

Re: direct local

Postby asmecher » Mon Nov 24, 2008 12:14 pm

Hi Cuneyt,

You can link directly to a page in a particular locale as follows:
  • Find the URL of the page you want to link to, i.e. http://www.myjournal.com/index.php/myjournal/article/view/50
  • URLEncode that URL, i.e.: http%3A%2F%2Fwww.myjournal.com%2Findex.php%2Fmyjournal%2Farticle%2Fview%2F50
  • Use a link that will pass that value into the setLocale function as the "source" parameter, i.e.: http://www.myjournal.com/index.php/myjournal/user/setLocale/tr_TR?source=http%3A%2F%2Fwww.myjournal.com%2Findex.php%2Fmyjournal%2Farticle%2Fview%2F50
The above URL will display a tr_TR view of the page you've linked to.

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 8453
Joined: Wed Aug 10, 2005 12:56 pm

Re: direct local

Postby birkok » Mon Nov 24, 2008 4:27 pm

I have found the following paths to address directly languages.
First two are Turkish current and archived pages:
It works. Do you have any comments?


http://www.insanbilimleri.com/ojs/index ... %2Fcurrent

http://www.insanbilimleri.com/ojs/index ... %2Farchive


http://www.insanbilimleri.com/ojs/index ... %2Fcurrent

http://www.insanbilimleri.com/ojs/index ... %2Farchive
birkok
 
Posts: 80
Joined: Sat Sep 22, 2007 5:12 am


Return to OJS Technical Support

Who is online

Users browsing this forum: Yahoo [Bot] and 3 guests