Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
8dedef70
Commit
8dedef70
authored
Oct 21, 2014
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Create new PO file for Polish.
Also update documentation to mention msginit.
parent
bb54874f
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
976 additions
and
183 deletions
+976
-183
docs/source/index.rst
docs/source/index.rst
+12
-0
locale/converse.pot
locale/converse.pot
+183
-183
locale/pl/LC_MESSAGES/converse.po
locale/pl/LC_MESSAGES/converse.po
+781
-0
No files found.
docs/source/index.rst
View file @
8dedef70
...
...
@@ -808,8 +808,20 @@ After adding the string, you'll need to regenerate the POT file, like so:
make pot
To create a new PO file for a language in which converse.js is not yet
translated into, do the following
.. note:: In this example we use Polish (pl), you need to substitute 'pl' to your own language's code.
::
mkdir -p ./locale/pl/LC_MESSAGES
msginit -i ./locale/converse.pot -o ./locale/pl/LC_MESSAGES/converse.po -l pl
You can then create or update the PO file for a specific language by doing the following:
.. note:: In this example we use German (de), you need to substitute 'de' to your own language's code.
::
msgmerge ./locale/de/LC_MESSAGES/converse.po ./locale/converse.pot -U
...
...
locale/converse.pot
View file @
8dedef70
This diff is collapsed.
Click to expand it.
locale/pl/LC_MESSAGES/converse.po
0 → 100644
View file @
8dedef70
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment