Eliseu Amaro
4203dbb317
Various CSS improvements, using grid, and footer correctly placed. Tested with Firefox (Gecko/Servo), Falkon (QtWebEngine), and Palemoon (Goanna)
133 lines
4.1 KiB
HTML
133 lines
4.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=0.86, maximum-scale=5.0, minimum-scale=0.86">
|
|
<link rel="shortcut icon" href="../favicon.ico">
|
|
<link rel="stylesheet" href="../assets/css/reset.css">
|
|
<link rel="stylesheet" href="../assets/css/blog.css">
|
|
<link rel="stylesheet" href="../assets/fonts/opensans/opensans.css">
|
|
<title>Milestone: Notes and Actors with languages - GNU social V3</title>
|
|
</head><body>
|
|
<header>
|
|
<div class="home-menu menu menu-horizontal menu-fixed">
|
|
<div class="home-menu menu menu-horizontal menu-fixed">
|
|
<a class="header-main" href="/"><img src="../assets/img/gnu-social-logo-invert.svg" alt="GNU social"><b>gnu</b>social</a>
|
|
<ul class="menu-list">
|
|
<li class="menu-item menu-selected"><a href="index.html" class="menu-link">Blog Index</a></li>
|
|
<li class="menu-item"><a href="https://code.gnusocial.rocks/" class="menu-link">Repository</a></li>
|
|
<li class="menu-item"><a href="https://coverage.gnusocial.rocks/" class="menu-link">Code Coverage</a></li>
|
|
<li class="menu-item"><a href="https://docs.gnusocial.rocks/" class="menu-link">Documentation</a></li>
|
|
<li class="menu-item"><a href="https://agile.gnusocial.rocks/" class="menu-link">Wiki</a></li>
|
|
<li class="menu-item"><a href="https://kanban.undefinedhackers.net/?controller=BoardViewController&action=readonly&token=d2293e55cabae7cceff9fb496c651328195357d392b9e61a9f229ed6d463" class="menu-link">Roadmap</a></li>
|
|
</ul>
|
|
</div>
|
|
</header>
|
|
|
|
<div class="content-wrapper">
|
|
<div class="content">
|
|
</div>
|
|
<div id="entry-wrapper"><div class="entry-unit">
|
|
<!-- entry begin -->
|
|
<h3><a class="ablack" href="milestone-notes-and-actors-with-languages.html">
|
|
Milestone: Notes and Actors with languages
|
|
</a></h3>
|
|
<!-- bashblog_timestamp: #202112090050.02# -->
|
|
<div class="subtitle">December 09, 2021 —
|
|
GNU social development team
|
|
</div>
|
|
<!-- text begin -->
|
|
|
|
<p>Well, it's that, our notes now have a language attribute.</p>
|
|
|
|
<p>... All right, all right, it's not <em>just</em> it.</p>
|
|
|
|
<h2>Here's what comes with it:</h2>
|
|
|
|
<ul>
|
|
<li><a href="">Filter the streams with only the languages you know</a></li>
|
|
<li><a href="https://code.undefinedhackers.net/GNUsocial/gnu-social/src/branch/v3/components/Tag/Tag.php#L135-L146">Make Tag Wrangling possible and transversal to languages</a></li>
|
|
<li><a href="https://code.undefinedhackers.net/GNUsocial/gnu-social/src/branch/v3/plugins/ActivityPub/Util/Model/Note.php#L123">Federate the language for a more inclusive free network</a></li>
|
|
</ul>
|
|
|
|
<h2>Here's how it looks</h2>
|
|
|
|
<p>First, the user panel section where the desired preferences are selected:
|
|
<img src="assets/notes_and_actors_with_languages/settings_language.png" alt="User panel language settings section" title="" /></p>
|
|
|
|
<p>Upon sending the previous form, the user is redirected to order their selection:
|
|
<img src="assets/notes_and_actors_with_languages/settings_language_order.png" alt="Ordering the selections made in previous page" title="" /></p>
|
|
|
|
<p>Finally, when posting the language with the highest priority is selected by default.</p>
|
|
|
|
<p>However, by accessing "Additional options", another language may be selected. The resulting
|
|
note will have the html <code>lang</code> attribute according to it.</p>
|
|
|
|
<p>The posting widget itself:
|
|
<img src="assets/notes_and_actors_with_languages/posting_language_options.png" alt="Selecting the language of a note when posting" title="" /></p>
|
|
|
|
<h2>What does this mean?</h2>
|
|
|
|
<p>We can now show you the notes you can read, but for groups, this mean that you
|
|
can access umbrella groups and filter the feeds to see what's in your language
|
|
and even region.</p>
|
|
|
|
<p>For too long the fediverse struggled with languages, this step makes it easier
|
|
for actual internationalization of the free network.</p>
|
|
|
|
<h2>A marvellous feed filtered by note language</h2>
|
|
|
|
<p><img src="assets/notes_and_actors_with_languages/feed-note-lang-pt.png" alt="" title="" /></p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- text end -->
|
|
<!-- entry end -->
|
|
</div>
|
|
</div></div>
|
|
<footer>
|
|
This site's source is <a href="https://code.undefinedhackers.net/GNUsocial/gnusocial.rocks">hosted here</a>
|
|
</footer>
|
|
</body></html>
|