<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[FluxBB.org Forums - Language specific SEF urls]]></title>
		<link>http://fluxbb.org/forums/topic/1815/language-specific-sef-urls/</link>
		<description><![CDATA[The most recent posts in Language specific SEF urls.]]></description>
		<lastBuildDate>Sun, 05 Oct 2008 04:33:23 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Language specific SEF urls]]></title>
			<link>http://fluxbb.org/forums/post/16295/#p16295</link>
			<description><![CDATA[i'm trying to  remove utf8_decode
and 

$str = strtr($str,....);

i got it work for now  0.0]]></description>
			<author><![CDATA[dummy@example.com (absolutex)]]></author>
			<pubDate>Sun, 05 Oct 2008 04:33:23 +0000</pubDate>
			<guid>http://fluxbb.org/forums/post/16295/#p16295</guid>
		</item>
		<item>
			<title><![CDATA[Re: Language specific SEF urls]]></title>
			<link>http://fluxbb.org/forums/post/16294/#p16294</link>
			<description><![CDATA[sorry i'm newbie

hi i'm download 1.3beta2 from fluxbb.org 

and howto upgrade to r603. ? could it ?

beta 2 is not allow Localization of the URL schemes :(


i got http://localhost:81/flux/topic/1/mylang_disappear/


what should i do ? 

:)


thanks]]></description>
			<author><![CDATA[dummy@example.com (absolutex)]]></author>
			<pubDate>Sun, 05 Oct 2008 04:25:43 +0000</pubDate>
			<guid>http://fluxbb.org/forums/post/16294/#p16294</guid>
		</item>
		<item>
			<title><![CDATA[Re: Language specific SEF urls]]></title>
			<link>http://fluxbb.org/forums/post/14668/#p14668</link>
			<description><![CDATA[This should now be possible as of [url=http://fluxbb.org/trac/changeset/603]r603[/url].]]></description>
			<author><![CDATA[dummy@example.com (Reines)]]></author>
			<pubDate>Tue, 09 Sep 2008 23:43:23 +0000</pubDate>
			<guid>http://fluxbb.org/forums/post/14668/#p14668</guid>
		</item>
		<item>
			<title><![CDATA[Re: Language specific SEF urls]]></title>
			<link>http://fluxbb.org/forums/post/14596/#p14596</link>
			<description><![CDATA[[quote=Christian]That's exactly what I said in my second post. :/[/quote]
Sorry I've been away for a couple weeks so just read the first post properly and skimmed the rest. Anyway it is a good idea so I think I may write a patch for it and see what the other devs think.]]></description>
			<author><![CDATA[dummy@example.com (Reines)]]></author>
			<pubDate>Mon, 08 Sep 2008 18:45:37 +0000</pubDate>
			<guid>http://fluxbb.org/forums/post/14596/#p14596</guid>
		</item>
		<item>
			<title><![CDATA[Re: Language specific SEF urls]]></title>
			<link>http://fluxbb.org/forums/post/14595/#p14595</link>
			<description><![CDATA[That's exactly what I said in my second post. :/]]></description>
			<author><![CDATA[dummy@example.com (Christian)]]></author>
			<pubDate>Mon, 08 Sep 2008 18:22:35 +0000</pubDate>
			<guid>http://fluxbb.org/forums/post/14595/#p14595</guid>
		</item>
		<item>
			<title><![CDATA[Re: Language specific SEF urls]]></title>
			<link>http://fluxbb.org/forums/post/14594/#p14594</link>
			<description><![CDATA[That actually sounds like a good idea richardk.]]></description>
			<author><![CDATA[dummy@example.com (Reines)]]></author>
			<pubDate>Mon, 08 Sep 2008 18:06:52 +0000</pubDate>
			<guid>http://fluxbb.org/forums/post/14594/#p14594</guid>
		</item>
		<item>
			<title><![CDATA[Re: Language specific SEF urls]]></title>
			<link>http://fluxbb.org/forums/post/14593/#p14593</link>
			<description><![CDATA[Any new URL scheme would require an extension, not just localizations.

A solution would be to allow a second file (File_based_(fancy)_rules.php) with the rules, for that scheme only, in the /include/url directory along with the URL file (File_based_(fancy).php). Then you would change the require() in rewrite.php to include them based on the o_sef configuration variable. An update would also be required to /admin/settings.php around line 595 to stop it displaying the rule files in the dropdown.

This will also stop rewrite.php accepting all the possible URLs (example: [url=http://fluxbb.org/forums/topic-1815-language-specific-sef-urls.html]/forums/topic-1815-language-specific-sef-urls.html[/url]).]]></description>
			<author><![CDATA[dummy@example.com (richardk)]]></author>
			<pubDate>Mon, 08 Sep 2008 17:45:04 +0000</pubDate>
			<guid>http://fluxbb.org/forums/post/14593/#p14593</guid>
		</item>
		<item>
			<title><![CDATA[Re: Language specific SEF urls]]></title>
			<link>http://fluxbb.org/forums/post/14592/#p14592</link>
			<description><![CDATA[Having the whole, full array available for localization is better than translating each word on its own. It allow culture-specific localization, if needed.

It's a little technical yes, but there's only a handful of language maintainers, and they can get help if the stuff is too technical for them. And it's only done once in a while (each time the dev modify the scheme, shouldn't be often).]]></description>
			<author><![CDATA[dummy@example.com (Jérémie)]]></author>
			<pubDate>Mon, 08 Sep 2008 17:34:03 +0000</pubDate>
			<guid>http://fluxbb.org/forums/post/14592/#p14592</guid>
		</item>
		<item>
			<title><![CDATA[Re: Language specific SEF urls]]></title>
			<link>http://fluxbb.org/forums/post/14586/#p14586</link>
			<description><![CDATA[Could this be fixed easily by adding a $lang_url language file, then changing the rewrite_rules to something like

[code]$forum_rewrite_rules = array(
    '/^'.$lang_url['topic'].'[\/_-]?([0-9]+).*('.$lang_url['new'].'|'.$lang_url['last'].')[\/_-]?('.$lang_url['post'].'|'.$lang_url['posts'].')?(\.html?|\/)?$/i'                                                    =>    'viewtopic.php?id=$1&action=$2',[/code]

and the url schemes to like

[code]$forum_url = array(
    'topic_new_posts'                =>    $lang_url['topic'].'$1'.$lang_url['new'].'-'.$lang_url['posts'].'.html',[/code]

That way language packs don't need to deal with the url scheme at all really, just the correct translations of the words?]]></description>
			<author><![CDATA[dummy@example.com (Reines)]]></author>
			<pubDate>Mon, 08 Sep 2008 16:51:58 +0000</pubDate>
			<guid>http://fluxbb.org/forums/post/14586/#p14586</guid>
		</item>
		<item>
			<title><![CDATA[Re: Language specific SEF urls]]></title>
			<link>http://fluxbb.org/forums/post/14562/#p14562</link>
			<description><![CDATA[[quote=Christian]I simply don't get why custom SEF urls are core, but localised not.

We are talking about 10 lines of code, which don't affect performance at all, but make the whole feature more consistent.[/quote]

Agreed. Surely full support for localization is key architecture requirements and part of core and if SEF are core it ought to be subject to localization as well.]]></description>
			<author><![CDATA[dummy@example.com (Mindphaser)]]></author>
			<pubDate>Mon, 08 Sep 2008 08:39:53 +0000</pubDate>
			<guid>http://fluxbb.org/forums/post/14562/#p14562</guid>
		</item>
		<item>
			<title><![CDATA[Re: Language specific SEF urls]]></title>
			<link>http://fluxbb.org/forums/post/14545/#p14545</link>
			<description><![CDATA[I've tried this one several months back, an official extension was the best I could get :/

Still, Smartys, URL aren't just cosmetic, far from it.]]></description>
			<author><![CDATA[dummy@example.com (Jérémie)]]></author>
			<pubDate>Sun, 07 Sep 2008 21:47:26 +0000</pubDate>
			<guid>http://fluxbb.org/forums/post/14545/#p14545</guid>
		</item>
		<item>
			<title><![CDATA[Re: Language specific SEF urls]]></title>
			<link>http://fluxbb.org/forums/post/14544/#p14544</link>
			<description><![CDATA[I simply don't get why custom SEF urls are core, but localised not.

We are talking about 10 lines of code, which don't affect performance at all, but make the whole feature more consistent.]]></description>
			<author><![CDATA[dummy@example.com (Christian)]]></author>
			<pubDate>Sun, 07 Sep 2008 20:06:37 +0000</pubDate>
			<guid>http://fluxbb.org/forums/post/14544/#p14544</guid>
		</item>
		<item>
			<title><![CDATA[Re: Language specific SEF urls]]></title>
			<link>http://fluxbb.org/forums/post/14542/#p14542</link>
			<description><![CDATA[[quote=Christian]So what's the difference between putting this into an official extension and having this feature in the core?[/quote]
One is an extension and another is the core? :P

[quote=Christian]In both cases you'll have to support that localised rules work with the other extensions. (Which shouldn't be a big problem, because extension developers would have to use the aliases for building proper urls anyway)[/quote]
Yeah, that shouldn't be an issue at all.

[quote=Christian]Looking from the perspective of a casual admin, I would ask myself why I can download language packs and install them right away, but for using the localised url schemes packaged with the language files, I need to install an extension first. Makes no sense to me.[/quote]
Because they're a feature that not everyone would want/need to take advantage of? A feature that has no impact on the forum content but is entirely cosmetic? Exactly what the extension system is well suited for?]]></description>
			<author><![CDATA[dummy@example.com (Smartys)]]></author>
			<pubDate>Sun, 07 Sep 2008 17:31:09 +0000</pubDate>
			<guid>http://fluxbb.org/forums/post/14542/#p14542</guid>
		</item>
		<item>
			<title><![CDATA[Re: Language specific SEF urls]]></title>
			<link>http://fluxbb.org/forums/post/14541/#p14541</link>
			<description><![CDATA[So what's the difference between putting this into an official extension and having this feature in the core?

In both cases you'll have to support that localised rules work with the other extensions. (Which shouldn't be a big problem, because extension developers would have to use the aliases for building proper urls anyway)

This would be used for all forums having a non-english audience. It's just consequent to have it in the core and it makes life easier for admins.

Looking from the perspective of a casual admin, I would ask myself why I can download language packs and install them right away, but for using the localised url schemes packaged with the language files, I need to install an extension first. Makes no sense to me.]]></description>
			<author><![CDATA[dummy@example.com (Christian)]]></author>
			<pubDate>Sun, 07 Sep 2008 17:13:48 +0000</pubDate>
			<guid>http://fluxbb.org/forums/post/14541/#p14541</guid>
		</item>
		<item>
			<title><![CDATA[Re: Language specific SEF urls]]></title>
			<link>http://fluxbb.org/forums/post/14540/#p14540</link>
			<description><![CDATA[[url]http://punbb.informer.com/forums/topic/17874/13-new-php-url-rewrite-system-localization/[/url]

And that is why localization should be an option that forum administrators can choose rather than a requirement.]]></description>
			<author><![CDATA[dummy@example.com (Smartys)]]></author>
			<pubDate>Sun, 07 Sep 2008 13:37:19 +0000</pubDate>
			<guid>http://fluxbb.org/forums/post/14540/#p14540</guid>
		</item>
	</channel>
</rss>
