2021-12-05 22:31:06 +00:00
<!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" >
2022-02-25 21:22:57 +00:00
< 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 >
2021-12-05 22:31:06 +00:00
< / head > < body >
< header >
< div class = "home-menu menu menu-horizontal menu-fixed" >
2022-02-25 21:22:57 +00:00
< 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 >
2021-12-05 22:31:06 +00:00
< 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" >
2022-07-24 23:00:53 +01:00
< / div >
< div id = "entry-wrapper" > < div class = "entry-unit" >
2021-12-05 22:31:06 +00:00
<!-- entry begin -->
< h3 > < a class = "ablack" href = "milestone-notes-and-actors-with-languages.html" >
Milestone: Notes and Actors with languages
< / a > < / h3 >
2021-12-09 14:43:04 +00:00
<!-- bashblog_timestamp: #202112090050.02# -->
< div class = "subtitle" > December 09, 2021 —
2021-12-05 22:31:06 +00:00
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 >
2021-12-09 17:11:27 +00:00
< 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 >
2021-12-05 22:31:06 +00:00
< / ul >
2021-12-09 14:43:04 +00:00
< 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
2021-12-09 17:11:27 +00:00
note will have the html < code > lang< / code > attribute according to it.< / p >
2021-12-09 14:43:04 +00:00
< 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 >
2021-12-05 22:31:06 +00:00
< 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 >
2021-12-09 17:11:27 +00:00
< h2 > A marvellous feed filtered by note language< / h2 >
2021-12-05 22:31:06 +00:00
2021-12-09 17:11:27 +00:00
< p > < img src = "assets/notes_and_actors_with_languages/feed-note-lang-pt.png" alt = "" title = "" / > < / p >
2021-12-09 14:52:52 +00:00
2021-12-09 16:47:22 +00:00
2021-12-10 16:35:26 +00:00
2022-01-18 00:25:29 +00:00
2022-01-18 01:24:35 +00:00
2022-01-18 01:39:46 +00:00
2022-01-18 01:58:44 +00:00
2022-01-18 02:03:04 +00:00
2022-02-25 21:22:57 +00:00
2022-01-18 02:11:01 +00:00
2022-01-18 11:41:14 +00:00
2022-01-18 11:42:04 +00:00
2022-01-18 12:37:46 +00:00
2022-01-18 02:48:24 +00:00
2022-03-27 18:02:29 +01:00
2022-03-28 16:45:27 +01:00
2022-01-18 13:14:26 +00:00
2022-03-28 17:17:33 +01:00
2022-03-28 17:42:56 +01:00
2022-03-28 18:00:58 +01:00
2022-04-01 11:33:52 +01:00
2022-04-01 11:40:14 +01:00
2022-04-01 11:33:52 +01:00
2022-03-28 23:56:14 +01:00
2022-07-25 16:51:49 +01:00
2022-07-24 23:00:53 +01:00
2022-01-18 14:15:23 +00:00
2022-01-18 15:54:02 +00:00
2021-12-05 22:31:06 +00:00
<!-- text end -->
<!-- entry end -->
< / div >
< / div > < / div >
2022-02-25 21:22:57 +00:00
< footer >
2022-07-24 23:00:53 +01:00
This site's source is < a href = "https://code.undefinedhackers.net/GNUsocial/gnusocial.rocks" > hosted here< / a >
2022-02-25 21:22:57 +00:00
< / footer >
< / body > < / html >