Koji Annoura
29 June 2024
Weblate の LibreOffice
日本語翻訳を解析する
Slide 2
Slide 2 text
Agenda
● Who am I
● Translating LibreOffice
● LLM
● Knowledge Graph
● Analyze the Japanese translation
Slide 3
Slide 3 text
I love Award User Groups
LibreOffice
Neo4j
Apache Hop
Outstanding Technologies Project Award
Graph Community MVP Asia
LibreOffice Japanese Team
Neo4j Users Group Tokyo
Apache Hop User Group Japan
Who am I
Slide 4
Slide 4 text
Illustrations by Pixeltrue on icons8
Agenda
●
Who am I
●
Translating LibreOffice
●
LLM
●
Knowledge Graph
●
Analyze the Japanese translation
Slide 5
Slide 5 text
Translate Weblate po
process Software File Format
Translating LibreOffice
Slide 6
Slide 6 text
Translating LibreOffice
LibreOffice translation process is quite straightforward.
The suggested way to work on it is to use Weblate (our
online translation portal). All you need to localize using this
method is a browser and an Internet connection.
https://wiki.documentfoundation.org/
Translating_LibreOffice
Translate
Slide 7
Slide 7 text
Translating LibreOffice
Weblate is libre software web-based continuous
localization system, used by over 2500 libre projects and
companies in more than 165 countries.
https://docs.weblate.org/en/latest/index.html
Weblate
Slide 8
Slide 8 text
Portable Object
.po (Portable Object) is a file format used for localization.
.pot (Portable Object template)
po
Slide 9
Slide 9 text
GNU gettext
Source code
xgettext
Package .pot
Binary
Language .mo
msgmerge
Language .po
01
01
02
02
03
03
04
04
Slide 10
Slide 10 text
GNU gettext
Slide 11
Slide 11 text
TDF Weblate 1
Slide 12
Slide 12 text
TDF Weblate 2
Slide 13
Slide 13 text
TDF Weblate 3
Slide 14
Slide 14 text
TDF Weblate 4
Slide 15
Slide 15 text
TDF Weblate 5
Slide 16
Slide 16 text
TDF Weblate 6
Slide 17
Slide 17 text
.po
Slide 18
Slide 18 text
.po (Project)
Slide 19
Slide 19 text
.po (header)
Slide 20
Slide 20 text
.po (translation entries)
Slide 21
Slide 21 text
.po (placeholder)
Slide 22
Slide 22 text
.po (contexts)
Slide 23
Slide 23 text
Illustrations by Pixeltrue on icons8
LLM
●
Who am I
●
Translating LibreOffice
●
LLM
●
Knowledge Graph
●
Analyze the Japanese translation
Slide 24
Slide 24 text
Large Language Model Products Problem
LLM is a computational model known
for its capability in general-purpose
language generation and various
natural language processing tasks like
classification.
ChatGPT
Copilot
Gemini
Hallucination
LLM
is a knowledge base that uses a
graph-structured data model or
topology to represent and operate
on data.
Knowledge Graph
Source: Wikipedia, https://en.wikipedia.org/wiki/Knowledge_graph
Knowledge Graph
Illustrations by Pixeltrue on icons8
Analyze the Japanese translation
●
Who am I
●
Translating LibreOffice
●
LLM
●
Knowledge Graph
●
Analyze the Japanese translation
Slide 36
Slide 36 text
Data Analyze Issues
Analyze the Japanese translation of
LibreOffice on Weblate
Slide 37
Slide 37 text
Sample
Data
Slide 38
Slide 38 text
Sample
Data
Slide 39
Slide 39 text
Morphological
Analysis
Data
Slide 40
Slide 40 text
Sample
Analyze
Slide 41
Slide 41 text
Dictionary
Pane (pane)
navigation pane showing/hiding
ナビゲーションパネルの表示、非表示
navigation pane in Help window
ヘルプウィンドウのナビゲーションペイン
Issue
Slide 42
Slide 42 text
Thanks
● Name: Koji Annoura
● Web: http://annoura.com
● Linkedin: kojiannoura
● X (Twitter): @kojiannoura