Comments (6)
Thank you Georger, it works like a charm.
I can do the translation work but I'm not used to the tools.
I see I can edit the po file with notepad++ can you confirm I should use the compile.bat/sh files to generate the mo file?
from treesheets.
Thank you for your help,
I've done a release of the ts file for French and also an update of the tutorial in French an launched a pull request
from treesheets.
I took a look at the translation file for French and the translation for "Insert New Grid" really is missing the "INS" keyboard shortcut. I added it in case you want a quick fix:
- Download fr_FR.zip and put it in your
%LOCALAPPDATA%\Programs\TreeSheets\translations\fr_FR
folder. - Copy
ts.mo
andts.po
to a backup folder of your choice. - Uncompress the
fr_FR.zip
file you downloaded, and confirm that you want to overwritets.mo
andts.po
(which you made backup copies of in the previous step). - Start TreeSheets. The menu entry should now include the INS keyboard shortcut.
I noticed there are several untranslated strings in the French translation. Consider translating them and submitting a pull request.
from treesheets.
Thank you Georger, it works like a charm. I can do the translation work but I'm not used to the tools. I see I can edit the po file with notepad++ can you confirm I should use the compile.bat/sh files to generate the mo file?
While you definitely can edit ts.mo
with Notepad++ and then use compile.bat
to generate ts.mo
, that would require you to obtain the GNU gettext utilities, put them exactly in the folder where compile.bat
expects them to be, and finally invoke compile.bat
by hand. Since you're using Windows, I recommend that you use Poedit instead, which will allow you to edit and compile with a single tool. I use the free version for the Brazilian Portuguese translation, and haven't felt the need to upgrade to the paid Pro version.
from treesheets.
Ok I've started the work but there is a lot to do and sometimes I'm not sure about what I'm modifying so it will take some work for verification on my side. I'll push it when I assume it is reliable.
It looks like not all HMI entries are appearing in the translation file. I can't find these ones:
Ok I see that the German translation items that I don't in the French one, so should I do a xgettext from source? (I have no idea yet on how to do that, I'm just getting info from google on that topic...)
from treesheets.
It looks like not all HMI entries are appearing in the translation file.
It looks like TS\translations\fr_FR\ts.po
is out of date with TS\translations\ts.pot
. In Poedit, Click Catalogue > Mettre à jour depuis un fichier POT..., and choose ts.pot
in the translations
folder. It will merge the latest strings from ts.pot
into ts.po
, and make them available for you to translate.
from treesheets.
Related Issues (20)
- [Share] zh-CN language for TreeSheets Nov 13 2023 HOT 4
- Shortcuts for switching between documents/tabs not working HOT 3
- Verification in flathub HOT 1
- Crashes in `FindNextSearchMatch` when called from `OnTabChange` HOT 4
- Install code typo in x11 install.md? HOT 1
- Tutorial shortcut for "Toggle Vertical Layout" is wrong
- Menus disabled in version 7314842728 HOT 4
- CSV export [edit: NOT] broken HOT 2
- [feature suggestion] Make selection more prominent, possibly user can change HOT 2
- Orientation of the program interface HOT 3
- The editing view is inconsistent with the preview and export views HOT 4
- Exported csv file code irrecognized HOT 3
- Cell content does not follow cell widening after narrowing HOT 5
- F7 not working to toggle text placement to above or beside grids HOT 3
- Bug: cursor position wrong on Windows 10 when not using default font HOT 1
- Make sub-grids use all available width for a large number of them -- possible? HOT 2
- TreeSheets freezes when I try to import file HOT 3
- FreeBSD: cmake install paths on non-linux HOT 14
- Material icons all look the same HOT 5
- [Feature request] Copy table as CSV HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from treesheets.