Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Generalizing programming language patterns in CodeBlocks
ollydbg:
--- Quote from: beqroson on November 09, 2013, 07:57:49 pm ---Instead of pseudo code, perhaps I can describe usage patterns that I personally would like to see.
Open a source code project downloaded from the net:
1. Open the project.
2. Select menu->languages->Italian, which immediately translates the source into the Italian language.
Compile the source project:
1. Press menu->Build, the Italian code is "JIT"-translated into code known by the current compiler, such as GCC.
Release a source header set:
1. Press menu->Export, the code is stripped off the Italian language and is left with only the compiler known language, such as C++.
Start using a third-party header dependent library, such as WxWidgets.
1. Download and install the header files.
2. Download and install/or create your own/ translation module that translates all the the terms, such as wxComboBox into wxKombinataBoxxy (or what it is called in Italy? ???
Create your own source distribution, such as source code for CodeBlocks:
1. Create the source.
2. Attach a set of already completed source translation modules.
3. Pack it up in a bundle. The users can themselves select which language is preferred.
--- End quote ---
I still not understand what you want to get in those steps.
You just want to translate all the Italian words in one source file to English words??? Maybe, you should show us some code snippets, screen shots, patches againt current SVN Head, I don't want to download/try a binary if I know nothing about the binary.
beqroson:
--- Quote ---I still not understand what you want to get in those steps.
You just want to translate all the Italian words in one source file to English words??? Maybe, you should show us some code snippets, screen shots, patches againt current SVN Head, I don't want to download/try a binary if I know nothing about the binary.
--- End quote ---
Ay, ay sir. ... Rethinking world definition, please hold... :D
No, but seriously, I am listening to all you say here. Maybe I should create a completely different sample. Against SVN, create a plugin (if it is relatively swift to make a crude one?). At the moment I am mostly collecting opinions though. But, hard if you cannot see the whole picture.
beqroson:
The reason I did not just upload the source was because the code is tied into the same code that is used for another project, of which I am not sure if I can share that code. However, when I create the plugin I will split up the code separately so that it can be included in the CodeBlocks project (if that happen).
beqroson:
Nobody seems to be backing me up on this idea yet. Is there no good reason to be able to program in your own language? There is a reason that we have many languages on our globe, right? It creates boundaries between different cultures. Should we not reflect that in the business of C++ as well, or am I the only one thinking like that? Maybe, just maybe... just maybe, it would be better if I just go and do harakiri on myself, then I dont need to bother. :P
stahta01:
--- Quote from: beqroson on November 09, 2013, 07:57:49 pm ---Instead of pseudo code, perhaps I can describe usage patterns that I personally would like to see.
Open a source code project downloaded from the net:
1. Open the project.
2. Select menu->languages->Italian, which immediately translates the source into the Italian language.
--- End quote ---
Sounds like a mixed C Processor and Poedit combined with Comment Translator.
--- Quote from: beqroson on November 09, 2013, 07:57:49 pm ---
Compile the source project:
1. Press menu->Build, the Italian code is "JIT"-translated into code known by the current compiler, such as GCC.
--- End quote ---
Sounds like a C Processor.
--- Quote from: beqroson on November 09, 2013, 07:57:49 pm ---Release a source header set:
1. Press menu->Export, the code is stripped off the Italian language and is left with only the compiler known language, such as C++.
--- End quote ---
Sounds like a Text Processor tool.
So far, I see no need for a CB Plugin; I suggest trying out the CB Contrib ToolPlus Plugin and see if that will do all that you need.
If nothing else it might be quicker during development.
Tim S.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version