Hello again,
I put new post here because I think I may help others:
First I don't know the correct way to make a plugins like @Scott said,
Here is something I already tried:
normalize-url-vietnamese.php
class normalize_url_vietnamese{
public function qa_string_initialize()
{
// qa_string_initialize_base();
global $qa_utf8removeaccents;
$qa_utf8removeaccents['á']='a';
$qa_utf8removeaccents['à']='a';
$qa_utf8removeaccents['ả']='a';
$qa_utf8removeaccents['ã']='a';
$qa_utf8removeaccents['ạ']='a';
// blalalalalalala
}
}
qa-plugin.php
<?php
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../../');
exit;
}
qa_register_plugin_module('filter', 'normalize-url-vietnamese.php', 'normalize_url_vietnamese', 'Normalize URL Vietnamese');
-------------------------------------------------------------------------------------------------
When I added
$qa_utf8removeaccents['á']='a';
$qa_utf8removeaccents['à']='a';
$qa_utf8removeaccents['ả']='a';
$qa_utf8removeaccents['ã']='a';
$qa_utf8removeaccents['ạ']='a';
to util/string.php page, it just work for "question" only, "tags" and "category" not working, still keep wrong accents
Thank,