https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292010-10-22T11:49:04ZRedmineRedmine - Defect #6725: Acronyms don't work for Russian languagehttps://www.redmine.org/issues/6725?journal_id=216472010-10-22T11:49:04ZHolger Just
<ul><li><strong>Assignee</strong> deleted (<del><i>Holger Just</i></del>)</li></ul><p>Please don't assign issue to people without them telling you to do so.</p>
<p>Also, please state what you exactly you mean with "don't works".</p> Redmine - Defect #6725: Acronyms don't work for Russian languagehttps://www.redmine.org/issues/6725?journal_id=218722010-10-27T21:35:37ZJean-Baptiste Barth
<ul></ul><p>Acronyms only work with one capital letter followed by some capital letters or numbers. By letter, we mean A to Z... So <code>Blah(de fi ni tion)</code> will produce Blah(de fi ni tion).</p>
<p>In your example, are "Россия" all capital letters in russian alphabet ?</p> Redmine - Defect #6725: Acronyms don't work for Russian languagehttps://www.redmine.org/issues/6725?journal_id=218852010-10-28T07:38:09ZАлександр Шестаков
<ul></ul><p>Yes, for example:</p>
<p>en: <abbr title="Country">RUSSIA</abbr><br />ru: РОССИЯ(Страна)</p> Redmine - Defect #6725: Acronyms don't work for Russian languagehttps://www.redmine.org/issues/6725?journal_id=219152010-10-29T03:02:34ZJean-Baptiste Barth
<ul><li><strong>Assignee</strong> set to <i>Jean-Baptiste Barth</i></li><li><strong>Target version</strong> set to <i>Unplanned backlogs</i></li></ul><p>OK. It won't be easy to implement until we fully support Ruby 1.9, which comes with the right libraries to handle non-ASCII characters.</p>
<p>For the record, everything happens line 459 of <code>lib/redcloth3.rb</code> (maybe we'll be on RedCloth4 when we support Ruby 1.9...). Regex with Unicode selectors like <code>"РОССИЯ".match(/^\p{Lu}+$/)</code> should work on Ruby 1.9+ (PCRE lib is too old on Ruby 1.8.x)</p> Redmine - Defect #6725: Acronyms don't work for Russian languagehttps://www.redmine.org/issues/6725?journal_id=247672011-02-02T12:31:25Zkillout killout
<ul></ul><p>Hello. This is my version of solving problem.</p>
<p>1. Add trigger to wiki_pages table:<br /><pre>
-- Trigger: alex_wiki_pages_tolower on wiki_pages
-- DROP TRIGGER alex_wiki_pages_tolower ON wiki_pages;
CREATE TRIGGER alex_wiki_pages_tolower
AFTER INSERT OR UPDATE
ON wiki_pages
FOR EACH ROW
EXECUTE PROCEDURE alex_wiki_pages_tolower();
</pre></p>
<p>2.add trigger function to redmine postgresql database:</p>
<pre>
-- Function: alex_wiki_pages_tolower()
-- DROP FUNCTION alex_wiki_pages_tolower();
CREATE OR REPLACE FUNCTION alex_wiki_pages_tolower()
RETURNS trigger AS
$BODY$
BEGIN
NEW.title=lower(NEW.title);
return NEW;
END;
$BODY$
LANGUAGE plpgsql VOLATILE
COST 100;
ALTER FUNCTION alex_wiki_pages_tolower() OWNER TO postgres;
</pre>
<p>So new pages will created in small leters, even if you taped in capital letters.</p> Redmine - Defect #6725: Acronyms don't work for Russian languagehttps://www.redmine.org/issues/6725?journal_id=388952012-06-10T20:42:31ZJean-Baptiste Barth
<ul><li><strong>Assignee</strong> deleted (<del><i>Jean-Baptiste Barth</i></del>)</li></ul> Redmine - Defect #6725: Acronyms don't work for Russian languagehttps://www.redmine.org/issues/6725?journal_id=801692017-07-21T13:19:53ZIvan Cenov
<ul></ul><p>Not resolved in Redmine 2.6.10.stable<br />Will it be resolved in nowadays versions?</p> Redmine - Defect #6725: Acronyms don't work for Russian languagehttps://www.redmine.org/issues/6725?journal_id=803592017-07-28T20:03:40ZMischa The Evil
<ul><li><strong>Has duplicate</strong> <i><a class="issue tracker-1 status-5 priority-3 priority-lowest closed" href="/issues/14765">Defect #14765</a>: Acronyms do not work for Russian</i> added</li></ul> Redmine - Defect #6725: Acronyms don't work for Russian languagehttps://www.redmine.org/issues/6725?journal_id=803612017-07-28T20:05:06ZMischa The Evil
<ul><li><strong>Subject</strong> changed from <i>Acronyms don't works for russian language</i> to <i>Acronyms don't work for Russian language</i></li><li><strong>Category</strong> changed from <i>Wiki</i> to <i>Text formatting</i></li></ul>