-
-
Notifications
You must be signed in to change notification settings - Fork 222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make every string translatable / changeable #12
Comments
This’ll be implemented as such;
|
This will now be in v3 if you are a translator — see this. |
Lithuanian & English translations are finished, so I guess that’ll be the start! |
Hi! I just found your project and I'm analyzing it. Looks promising! Congratulations! Why not to use real Hugo translations? |
@robsonsobral Thanks for the nice words! I think native Hugo translations split sites up into two versions. I'm not sure if that's a good idea, frankly, coupled with the fact that I haven't used them. Do you feel this would work better? |
I always use native Hugo translations even for single language sites. To split the site into two, you have to set two languages on It´s really easier to write And you can have multiple languages, if you want to. |
Alright, I'm sold. You make a good point. I'm not really sure if it's as, let's say, easy to set up / change around like how it is now though. The data folder can easily let you change around the language files - create new ones, override them, etc The config file is long as is |
Unfortunetaly it looks like this isn’t going to work. The native multilingual mode is not ideal for this situation.
Thanks for the reply nonetheless. |
I guess I need to explain better. Please, take a look at this project I worked on. The language files are all inside Only in case you want to load more than one language, you need to set them on Hugo stopped to recomend the |
cState isn’t really a conventional Hugo website but, sure, I can give it a try. Already, I can see the This is the current en.yml file: thisIsDown: Down
thisIsDisrupted: Disrupted
thisIsNotice: Maintenance
thisIsOk: Operational …and it would be a tad bit of work to re-do that. Not fun. But yeah, there’s quite a bit of cruft with the current solution. |
I’ve given this a fair look — take a look yourself! |
oh boy this is going to be fun.
if you have translation experience, give me a shout — either on this issue or by any other means.
The text was updated successfully, but these errors were encountered: