Comments (5)
Exactly, it's just a tool that takes a language file and generates another by filling the values. This one belongs to a different package/tool.
from gotext.
Hi, not sure I'm following the proposal, could you describe it further?
from gotext.
ah we use https://en.wikipedia.org/wiki/Pseudolocalization during development to get a sense of i18n coverage without waiting for the actual translation (as we are in an incremental migration), right now I have to duplicate the english message file (our source language) and manually pseudo them for every new messages, while our FE i18n library will do the pseudolocalization for us, so I just thought it would be convenient if the gotext can provide such functionality out of box ;) (if I am not asking too much)
from gotext.
Are we talking about language file (.po) generation? Or the package returning random chars for every Get
?
from gotext.
either way we can achieve the same result, the pseudo can be done either in the po generation time or runtime (Get
), but it seems the xgotext only supports .pot
and not per locale, so I guess you would prefer po generation to be done manually instead.
from gotext.
Related Issues (20)
- Please add cli/xgotext to v1.4.1 HOT 3
- Project status and feature request to use embed po files HOT 7
- xgotext performance
- v1.5.0 is a breaking change HOT 3
- Get and similar functions don't always process formatting sequences HOT 1
- Keep order in po files HOT 4
- xgotext emits backtick-delimited strings into .pot files
- Exported strings can break PO file format
- Missing support for fallback translations HOT 3
- Add support for json format HOT 1
- Locale should expand the string to include country code if necessary HOT 1
- `Get("")` is returning all headers HOT 4
- expose lang from Locale HOT 2
- documentation on usage with templates? HOT 3
- Multi-line and backquotes strings support incorrect compared to gettext spec
- Plurals export into po file HOT 2
- Properly tag the latest release HOT 1
- Bug in IsTranslatedN() HOT 1
- Active repository moved
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 gotext.